audio/avldrums-lv2: Fix SIMD flags handling

Also change WWW to https.
This commit is contained in:
Yuri Victorovich 2018-06-09 23:21:57 +00:00
parent 83401453e8
commit 5612ddfd0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472100
3 changed files with 13 additions and 8 deletions

View File

@ -38,12 +38,6 @@ 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
SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- Makefile.orig 2018-06-09 23:15:05 UTC
+++ Makefile
@@ -10,7 +10,7 @@ MANDIR ?= $(PREFIX)/share/man/man1
# see http://lv2plug.in/pages/filesystem-hierarchy-standard.html, don't use libdir
LV2DIR ?= $(PREFIX)/lib/lv2
-OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only -DNDEBUG
+OPTIMIZATIONS ?= $(PORT_SIMD_FLAGS) -ffast-math -fomit-frame-pointer -fno-finite-math-only -DNDEBUG
CFLAGS ?= -Wall -g -Wno-unused-function
STRIP ?= strip

View File

@ -15,4 +15,4 @@ player are:
to the mixing stage use separate outputs to process or customize level and
pan of individual drums.
WWW: http://x42-plugins.com/x42/x42-avldrums
WWW: https://x42-plugins.com/x42/x42-avldrums