aboutsummaryrefslogtreecommitdiff
path: root/audio/wmtune
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-02-25 00:14:16 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-02-25 00:14:16 +0000
commitc53246da9620f804f4dcb5422add0af42e583872 (patch)
tree745bddd3a1667bd68e203df3c9029626d13c3c89 /audio/wmtune
parent171b060573a3ce29f7124ac6e3cc241e5846d8c1 (diff)
downloadports-c53246da9620f804f4dcb5422add0af42e583872.tar.gz
ports-c53246da9620f804f4dcb5422add0af42e583872.zip
Notes
Diffstat (limited to 'audio/wmtune')
-rw-r--r--audio/wmtune/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/wmtune/Makefile b/audio/wmtune/Makefile
index f8b303cbdb48..f82cff458d53 100644
--- a/audio/wmtune/Makefile
+++ b/audio/wmtune/Makefile
@@ -40,6 +40,9 @@ WMTUNE_DIFF= wmtune.radiotrack.diff.gz
post-patch:
@${GUNZIP_CMD} -c ${DISTDIR}/${WMTUNE_DIFF} | ${PATCH} ${PATCH_ARGS}
+ @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
+ @${SED} -e 's|-O2|${CFLAGS}|' -e 's|cc|${CC}|' \
+ < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
do-configure:
@${PERL} -pi.orig -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/wmtune.c