Ticket #27655: pianobar-dynamiclib.diff
File pianobar-dynamiclib.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
files/patch-Makefile.diff
1 --- Makefile.orig 2010-11-06 07:38:14.000000000 -0500 2 +++ Makefile 2010-12-12 16:16:57.000000000 -0600 3 @@ -95,7 +95,7 @@ 4 # build shared libpiano 5 libpiano: ${LIBPIANO_RELOBJ} ${LIBPIANO_HDR} ${LIBWAITRESS_RELOBJ} \ 6 ${LIBWAITRESS_HDR} ${LIBEZXML_RELOBJ} ${LIBEZXML_HDR} 7 - ${CC} -shared ${CFLAGS} ${LIBPIANO_RELOBJ} ${LIBWAITRESS_RELOBJ} \ 8 + ${CC} -dynamiclib ${CFLAGS} ${LIBPIANO_RELOBJ} ${LIBWAITRESS_RELOBJ} \ 9 ${LIBEZXML_RELOBJ} -o $@.so.0.0.0 10 11 %.o: %.c -
Portfile
46 46 47 47 destroot.args PREFIX=${prefix} 48 48 49 platform macosx { 50 patchfiles-append patch-Makefile.diff 51 } 52 49 53 livecheck.type regex 50 54 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}