aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ladspa
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2010-07-03 02:50:21 +0800
committerarved <arved@FreeBSD.org>2010-07-03 02:50:21 +0800
commitd39d5260bd61080fabd64f1e81031f24ca71a91e (patch)
tree34a67e410dfa3ad06a909cada4fbc6ade5bded92 /audio/ladspa
parent0f9e56a7cd9893fc1fe77a67234034fbf874c9bb (diff)
downloadfreebsd-ports-graphics-d39d5260bd61080fabd64f1e81031f24ca71a91e.tar.gz
freebsd-ports-graphics-d39d5260bd61080fabd64f1e81031f24ca71a91e.tar.zst
freebsd-ports-graphics-d39d5260bd61080fabd64f1e81031f24ca71a91e.zip
Respect CC CXX.
PR: 148109 Submitted by: Anonymous <swell.k@gmail.com> Feature safe: yes
Diffstat (limited to 'audio/ladspa')
-rw-r--r--audio/ladspa/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/ladspa/Makefile b/audio/ladspa/Makefile
index 25f0ed1202e..f5baf959643 100644
--- a/audio/ladspa/Makefile
+++ b/audio/ladspa/Makefile
@@ -25,8 +25,8 @@ PLUGIN_FILES= amp.so delay.so filter.so noise.so sine.so
PLUGIN_DIR?= ${PREFIX}/lib/ladspa/
post-patch:
- ${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; s,CPP,CXX,' \
- ${WRKSRC}/src/makefile
+ ${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; \
+ s,^CC,#CC,;s,^CPP,#CPP,;s,CPP,CXX,' ${WRKSRC}/src/makefile
do-build:
cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${GMAKE} -f makefile targets