aboutsummaryrefslogtreecommitdiff
path: root/audio/afsp
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-12-16 06:49:53 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-12-16 06:49:53 +0000
commitfde1edb11fc9c171cbe20b53bf43c7cd2f8ea4be (patch)
tree2a90836e397ffd85b9868a8ba6a0de1eb8558cab /audio/afsp
parent993731eb8e1ff3bd30af037af42e4a988f78f002 (diff)
downloadports-fde1edb11fc9c171cbe20b53bf43c7cd2f8ea4be.tar.gz
ports-fde1edb11fc9c171cbe20b53bf43c7cd2f8ea4be.zip
respect CFLAGS.
Notes
Notes: svn path=/head/; revision=51613
Diffstat (limited to 'audio/afsp')
-rw-r--r--audio/afsp/Makefile4
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>