summaryrefslogtreecommitdiff
path: root/audio/x42-plugins-lv2/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-19 21:48:16 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-19 21:48:16 +0000
commitf537701b3feda3d6d8da9d674c8d93f2e27ac66d (patch)
treed353e148d1f9493bd85375d91d076b7a907b2f12 /audio/x42-plugins-lv2/Makefile
parentAdd py-testrepository 0.0.20 (diff)
audio/x42-plugins-lv2: Switch to clang-5 to avoid regression in clang-6
Reported by: fallout
Notes
Notes: svn path=/head/; revision=472826
Diffstat (limited to '')
-rw-r--r--audio/x42-plugins-lv2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/x42-plugins-lv2/Makefile b/audio/x42-plugins-lv2/Makefile
index c4f89c006e22..35a10d113cbe 100644
--- a/audio/x42-plugins-lv2/Makefile
+++ b/audio/x42-plugins-lv2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= x42-plugins
DISTVERSION= 20180320 # the version is published here: http://gareus.org/misc/x42-plugins.php
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://gareus.org/misc/x42-plugins/
PKGNAMESUFFIX= -lv2
@@ -43,6 +43,13 @@ OPTIONS_DEFAULT_i386= SSE
SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
+# It suffers from the regression in clang-6: https://bugs.llvm.org/show_bug.cgi?id=36915
+LLVM_VER= 50
+BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
+CPP= clang-cpp${LLVM_VER}
+CC= clang${LLVM_VER}
+CXX= clang++${LLVM_VER}
+
post-patch:
@${REINPLACE_CMD} 's| -O3||' \
${WRKSRC}/*.lv2/Makefile