Date: Sun, 24 Jun 2018 04:44:56 +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: r473179 - head/audio/artyfx-lv2 Message-ID: <201806240444.w5O4iulT073578@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Jun 24 04:44:56 2018 New Revision: 473179 URL: https://svnweb.freebsd.org/changeset/ports/473179 Log: audio/artyfx-lv2: Fix build on non-Intel/AMD platforms Reported by: linimon Modified: head/audio/artyfx-lv2/Makefile Modified: head/audio/artyfx-lv2/Makefile ============================================================================== --- head/audio/artyfx-lv2/Makefile Sun Jun 24 04:34:00 2018 (r473178) +++ head/audio/artyfx-lv2/Makefile Sun Jun 24 04:44:56 2018 (r473179) @@ -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 @@ -27,5 +23,18 @@ GH_ACCOUNT= openAVproductions 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806240444.w5O4iulT073578>