diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-02-25 00:14:16 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-02-25 00:14:16 +0000 |
commit | c53246da9620f804f4dcb5422add0af42e583872 (patch) | |
tree | 745bddd3a1667bd68e203df3c9029626d13c3c89 /audio/wmtune | |
parent | Oops, forgot to change version on this. (diff) |
Respect CC and CFLAGS
Notes
Notes:
svn path=/head/; revision=26264
Diffstat (limited to 'audio/wmtune')
-rw-r--r-- | audio/wmtune/Makefile | 3 |
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 |