Date: Sat, 9 Jun 2018 18:28:09 +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: r472078 - head/audio/avldrums-lv2 Message-ID: <201806091828.w59IS91R036837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Jun 9 18:28:09 2018 New Revision: 472078 URL: https://svnweb.freebsd.org/changeset/ports/472078 Log: audio/avldrums-lv2: Unbreak on non-Intel/AMD architectures Also removed the -O3 flag. Modified: head/audio/avldrums-lv2/Makefile Modified: head/audio/avldrums-lv2/Makefile ============================================================================== --- head/audio/avldrums-lv2/Makefile Sat Jun 9 18:15:58 2018 (r472077) +++ head/audio/avldrums-lv2/Makefile Sat Jun 9 18:28:09 2018 (r472078) @@ -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 @@ -35,5 +32,18 @@ PLIST_FILES= lib/lv2/avldrums.lv2/Black_Pearl_4_LV2.sf lib/lv2/avldrums.lv2/avldrums.ttl \ 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806091828.w59IS91R036837>