Date: Sun, 28 Oct 2018 05:56:46 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483227 - head/audio/zam-plugins-lv2 Message-ID: <201810280556.w9S5ukD6021368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Oct 28 05:56:46 2018 New Revision: 483227 URL: https://svnweb.freebsd.org/changeset/ports/483227 Log: audio/zam-plugins-lv2: fix build with GCC-based architectures PR: 232711 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Modified: head/audio/zam-plugins-lv2/Makefile Modified: head/audio/zam-plugins-lv2/Makefile ============================================================================== --- head/audio/zam-plugins-lv2/Makefile Sun Oct 28 05:42:13 2018 (r483226) +++ head/audio/zam-plugins-lv2/Makefile Sun Oct 28 05:56:46 2018 (r483227) @@ -13,11 +13,6 @@ COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugi 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810280556.w9S5ukD6021368>