diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-10-28 05:56:46 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-10-28 05:56:46 +0000 |
commit | cdec3d14f4617e017b68789e889b56cbe4f68c7a (patch) | |
tree | c3496989cf074d1fdcfb6d26b5fa56499771680a /audio | |
parent | 0fb5f00ce7a540209ca1fd0d466864da73142901 (diff) | |
download | ports-cdec3d14f4617e017b68789e889b56cbe4f68c7a.tar.gz ports-cdec3d14f4617e017b68789e889b56cbe4f68c7a.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zam-plugins-lv2/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/zam-plugins-lv2/Makefile b/audio/zam-plugins-lv2/Makefile index 57e0f6f756ce..af655e122a6e 100644 --- a/audio/zam-plugins-lv2/Makefile +++ b/audio/zam-plugins-lv2/Makefile @@ -13,11 +13,6 @@ COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins LICENSE= GPLv3 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 \ ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ @@ -25,7 +20,7 @@ LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ libsamplerate.so:audio/libsamplerate \ libzita-convolver.so:audio/zita-convolver -USES= compiler:c++11-lib gmake localbase:ldflags pkgconfig +USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= zamaudio GH_TUPLE= DISTRHO:DPF:2786991:d/dpf @@ -36,11 +31,18 @@ CFLAGS+= -I${FILESDIR} MAKE_ARGS+= USE_SYSTEM_LIBS=1 xLDFLAGS+= -lzita-convolver # TODO this can be reduced to only relevant places +.include <bsd.port.pre.mk> + post-extract: @${RM} -r ${WRKSRC}/lib/zita-convolver-* post-patch: #@${REINPLACE_CMD} -e 's|#include "../../lib/zita-convolver-.*/zita-convolver.h"|#include <zita-convolver.h>|' ${WRKSRC}/plugins/Zam*/convolution.*pp @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e '/-mfpmath=sse/d' \ + -e 's/-mtune=generic -msse -msse2//' \ + ${WRKSRC}/Makefile.mk ${WRKSRC}/dpf/dgl/Makefile.mk +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |