aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wmtune
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-02-25 08:14:16 +0800
committerjedgar <jedgar@FreeBSD.org>2000-02-25 08:14:16 +0800
commita66100d415fc26261854ca87ea8e15b0c9731d48 (patch)
treec1e107dc10266f3a909eb5ef6538659b2801c2b3 /audio/wmtune
parent6ad982e72ac65ba7f46d4472e7b463886aefffcb (diff)
downloadfreebsd-ports-gnome-a66100d415fc26261854ca87ea8e15b0c9731d48.tar.gz
freebsd-ports-gnome-a66100d415fc26261854ca87ea8e15b0c9731d48.tar.zst
freebsd-ports-gnome-a66100d415fc26261854ca87ea8e15b0c9731d48.zip
Respect CC and CFLAGS
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