diff options
author | sf <sf@FreeBSD.org> | 2001-12-16 14:49:53 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-12-16 14:49:53 +0800 |
commit | e6882a6083aac54f9a3aa507c0edeec170286148 (patch) | |
tree | bb72490c427615e2c069b75e839b2f6f224c3ee5 /audio/afsp | |
parent | 6a11b7d426805360ea2629a9b19d1b921cbacded (diff) | |
download | freebsd-ports-gnome-e6882a6083aac54f9a3aa507c0edeec170286148.tar.gz freebsd-ports-gnome-e6882a6083aac54f9a3aa507c0edeec170286148.tar.zst freebsd-ports-gnome-e6882a6083aac54f9a3aa507c0edeec170286148.zip |
respect CFLAGS.
Diffstat (limited to 'audio/afsp')
-rw-r--r-- | audio/afsp/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/afsp/Makefile b/audio/afsp/Makefile index 3b4039cb8494..36bf5d04905f 100644 --- a/audio/afsp/Makefile +++ b/audio/afsp/Makefile @@ -22,11 +22,13 @@ MAN3= AFclose.3tsp AFopenRead.3tsp AFopenWrite.3tsp AFreadData.3tsp \ AFsetFileType.3tsp AFsetHinfo.3tsp AFsetNHpar.3tsp \ AFwriteData.3tsp AFsetSpeaker.3tsp +MAKE_ENV= COPTS="${CFLAGS}" + post-extract: @${CP} -f ${FILESDIR}/Makefile ${WRKSRC} post-patch: cd ${WRKSRC} && find . -name Makefile | \ - xargs -n10 ${PERL} -i -pe 's/^(CFLAGS\s*)=\s*-O/$$1+=/' + xargs -n10 ${PERL} -i -pe 's/^(COPTS)/#$$1/' .include <bsd.port.mk> |