diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-09 18:28:09 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-09 18:28:09 +0000 |
commit | 21c11575c4ecbd96b00c779ca83c9f1d95ba3bb4 (patch) | |
tree | ff7b0870a0fa7d58a9822fa438a3d0361556139b /audio/avldrums-lv2 | |
parent | 1bb79bc4936ddc6474eaa97f991e4140b260db7e (diff) |
audio/avldrums-lv2: Unbreak on non-Intel/AMD architectures
Also removed the -O3 flag.
Notes
Notes:
svn path=/head/; revision=472078
Diffstat (limited to 'audio/avldrums-lv2')
-rw-r--r-- | audio/avldrums-lv2/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/audio/avldrums-lv2/Makefile b/audio/avldrums-lv2/Makefile index 75c7cd0fab0f..8d47b8f5ebde 100644 --- a/audio/avldrums-lv2/Makefile +++ b/audio/avldrums-lv2/Makefile @@ -3,6 +3,7 @@ PORTNAME= avldrums DISTVERSIONPREFIX= v DISTVERSION= 0.2.2 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -12,10 +13,6 @@ COMMENT= Dedicated AVLDrumkits LV2 Plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv6= fails to build: unknown FP unit 'sse' -BROKEN_armv7= fails to build: unknown FP unit 'sse' -BROKEN_powerpc64= fails to compile: unrecognized command line option "-msse2" - BUILD_DEPENDS= lv2>0:audio/lv2 USES= gmake pkgconfig @@ -36,4 +33,17 @@ PLIST_FILES= lib/lv2/avldrums.lv2/Black_Pearl_4_LV2.sf2 \ lib/lv2/avldrums.lv2/avldrumsUI_gl.so \ lib/lv2/avldrums.lv2/manifest.ttl +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +post-patch: + @${REINPLACE_CMD} 's| -O3||' \ + ${WRKSRC}/Makefile + +post-patch-SSE-off: + @${REINPLACE_CMD} 's|-msse -msse2 -mfpmath=sse||' \ + ${WRKSRC}/Makefile + .include <bsd.port.mk> |