Ticket #25334: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by aguynamedryan+macports@…, 14 years ago) |
---|
-
Makefile
old new 1 1 # makefile of pianobar 2 2 3 PREFIX:=/ usr/local3 PREFIX:=/opt/local 4 4 BINDIR:=${PREFIX}/bin 5 5 LIBDIR:=${PREFIX}/lib 6 6 MANDIR:=${PREFIX}/share/man … … 87 87 pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ 88 88 ${LIBWAITRESS_HDR} ${LIBEZXML_OBJ} ${LIBEZXML_HDR} 89 89 ${CC} ${CFLAGS} ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ 90 ${LIBEZXML_OBJ} ${LIBAO_LIB} ${LIBFAAD_LIB} ${LIBMAD_LIB} \90 ${LIBEZXML_OBJ} -L/opt/local/lib ${LIBAO_LIB} ${LIBFAAD_LIB} ${LIBMAD_LIB} \ 91 91 ${PTHREAD_LIB} ${LIBM_LIB} -o $@ 92 92 93 93 # build shared libpiano … … 98 98 99 99 %.o: %.c 100 100 ${CC} ${CFLAGS} -I ${LIBPIANO_INCLUDE} -I ${LIBWAITRESS_INCLUDE} \ 101 -I ${LIBEZXML_INCLUDE} ${LIBFAAD_SWITCH} ${LIBMAD_SWITCH} -c \101 -I ${LIBEZXML_INCLUDE} -I /opt/local/include ${LIBFAAD_SWITCH} ${LIBMAD_SWITCH} -c \ 102 102 -o $@ $< 103 103 104 104 # create position independent code (for shared libraries) … … 113 113 114 114 all: pianobar libpiano 115 115 116 install: pianobar 116 install: pianobar ${DESTDIR}/${BINDIR}/pianobar 117 118 ${DESTDIR}/${BINDIR}/pianobar: 117 119 install -d ${DESTDIR}/${BINDIR}/ 118 120 install -m755 pianobar ${DESTDIR}/${BINDIR}/ 119 121 install -d ${DESTDIR}/${MANDIR}/man1/