diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-24 04:44:56 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-24 04:44:56 +0000 |
commit | 487c1180f97a5d25e2ca9af29e7b4cb56a9b05fd (patch) | |
tree | a68c1e2c89e8c2d9db7931abf4b77792e55eae42 /audio/artyfx-lv2/Makefile | |
parent | cdd6fe1cee8a5ee9ac5899f770ee97b9c759aa10 (diff) | |
download | ports-487c1180f97a5d25e2ca9af29e7b4cb56a9b05fd.tar.gz ports-487c1180f97a5d25e2ca9af29e7b4cb56a9b05fd.zip |
Notes
Diffstat (limited to 'audio/artyfx-lv2/Makefile')
-rw-r--r-- | audio/artyfx-lv2/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/audio/artyfx-lv2/Makefile b/audio/artyfx-lv2/Makefile index 9f0962db4dc7..4f6627705e9f 100644 --- a/audio/artyfx-lv2/Makefile +++ b/audio/artyfx-lv2/Makefile @@ -4,6 +4,7 @@ PORTNAME= artyfx DISTVERSIONPREFIX= release- DISTVERSION= 1.3-14 DISTVERSIONSUFFIX= -gb247969 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -13,11 +14,6 @@ COMMENT= ArtyFX plugin bundle LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_aarch64= fails to compile: unknown FP unit 'sse' -BROKEN_armv6= fails to compile: unknown FP unit 'sse' -BROKEN_armv7= fails to compile: unknown FP unit 'sse' -BROKEN_powerpc64= fails to compile: unknown FP unit 'sse' - BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libsndfile.so:audio/libsndfile @@ -28,4 +24,17 @@ GH_PROJECT= openAV-ArtyFX USE_GNOME= cairo USE_XORG= x11 +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse" + +post-patch: + @${REINPLACE_CMD} -e 's| -g | |; s| -O1 | |; s/-msse2 -mfpmath=sse/$${PORT_SIMD_FLAGS}/g' \ + ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's/-msse -msse2 -mfpmath=sse -g/$${PORT_SIMD_FLAGS}/g' \ + ${WRKSRC}/src/avtk/CMakeLists.txt + .include <bsd.port.mk> |