summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-02-25 00:14:16 +0000
committerjedgar <jedgar@FreeBSD.org>2000-02-25 00:14:16 +0000
commita66100d415fc26261854ca87ea8e15b0c9731d48 (patch)
treec1e107dc10266f3a909eb5ef6538659b2801c2b3 /audio
parent6ad982e72ac65ba7f46d4472e7b463886aefffcb (diff)
downloadFreeBSD-ports-a66100d415fc26261854ca87ea8e15b0c9731d48.zip
FreeBSD-ports-a66100d415fc26261854ca87ea8e15b0c9731d48.tar.gz
Respect CC and CFLAGS
Diffstat (limited to 'audio')
-rw-r--r--audio/wmtune/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/wmtune/Makefile b/audio/wmtune/Makefile
index f8b303c..f82cff4 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
OpenPOWER on IntegriCloud