diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-19 21:48:16 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-19 21:48:16 +0000 |
commit | f537701b3feda3d6d8da9d674c8d93f2e27ac66d (patch) | |
tree | d353e148d1f9493bd85375d91d076b7a907b2f12 | |
parent | a25c86a4aabb7943ed83dc8692077ca08a0ce4fe (diff) | |
download | freebsd-ports-f537701b3feda3d6d8da9d674c8d93f2e27ac66d.zip |
audio/x42-plugins-lv2: Switch to clang-5 to avoid regression in clang-6
Reported by: fallout
-rw-r--r-- | audio/x42-plugins-lv2/Makefile | 9 |
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 |