aboutsummaryrefslogtreecommitdiff
path: root/audio/caps-lv2
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-01-15 07:49:07 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-01-15 07:49:07 +0000
commit87eacd6b1193cf8f06f574b3f5cb99feffe9a3b6 (patch)
tree6b3be7e2d9fa114f29faa9b068ffdeca13820706 /audio/caps-lv2
parentc4bfb0503c44855e8d193ca39e6bd92b0ad7ec20 (diff)
downloadports-87eacd6b1193cf8f06f574b3f5cb99feffe9a3b6.tar.gz
ports-87eacd6b1193cf8f06f574b3f5cb99feffe9a3b6.zip
Notes
Diffstat (limited to 'audio/caps-lv2')
-rw-r--r--audio/caps-lv2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/caps-lv2/Makefile b/audio/caps-lv2/Makefile
index 9e61eca83b8c..281d8424c3f6 100644
--- a/audio/caps-lv2/Makefile
+++ b/audio/caps-lv2/Makefile
@@ -26,6 +26,11 @@ CPP= clang-cpp${LLVM_VER}
CC= clang${LLVM_VER}
CXX= clang++${LLVM_VER}
+.if exists(/usr/lib/libstdc++.so)
+CXXFLAGS+= -stdlib=libstdc++
+LDFLAGS+= -stdlib=libstdc++
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|__APPLE__|__FreeBSD__|" \
${WRKSRC}/dsp/v4f_IIR2.h