aboutsummaryrefslogtreecommitdiff
path: root/audio/gmsynth-lv2
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-09 23:28:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-09 23:28:05 +0000
commit0bdbffbf75d1cdf28c3c0bfd76c34643a4b4fe8e (patch)
treea6b0b2116995ac9522ee67c4f7aa2610d0690cd2 /audio/gmsynth-lv2
parent5612ddfd0fdc79891ac670c7934a202faec4a1a0 (diff)
downloadports-0bdbffbf75d1cdf28c3c0bfd76c34643a4b4fe8e.tar.gz
ports-0bdbffbf75d1cdf28c3c0bfd76c34643a4b4fe8e.zip
Notes
Diffstat (limited to 'audio/gmsynth-lv2')
-rw-r--r--audio/gmsynth-lv2/Makefile3
-rw-r--r--audio/gmsynth-lv2/files/patch-Makefile11
2 files changed, 11 insertions, 3 deletions
diff --git a/audio/gmsynth-lv2/Makefile b/audio/gmsynth-lv2/Makefile
index e1567690792f..4efb32203028 100644
--- a/audio/gmsynth-lv2/Makefile
+++ b/audio/gmsynth-lv2/Makefile
@@ -32,7 +32,6 @@ OPTIONS_DEFINE_i386= SSE
OPTIONS_DEFAULT_amd64= SSE
OPTIONS_DEFAULT_i386= SSE
-SSE_MAKE_ENV= OPTIMIZATIONS="-msse -msse2 -mfpmath=sse -DNDEBUG"
-SSE_MAKE_ENV_OFF= OPTIMIZATIONS="-DNDEBUG"
+SSE_MAKE_ENV= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
.include <bsd.port.mk>
diff --git a/audio/gmsynth-lv2/files/patch-Makefile b/audio/gmsynth-lv2/files/patch-Makefile
index 7145657988b0..e499e23481e0 100644
--- a/audio/gmsynth-lv2/files/patch-Makefile
+++ b/audio/gmsynth-lv2/files/patch-Makefile
@@ -1,5 +1,14 @@
---- Makefile.orig 2018-03-10 23:08:50 UTC
+--- Makefile.orig 2017-09-08 18:49:05 UTC
+++ Makefile
+@@ -9,7 +9,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
+
@@ -136,13 +136,13 @@ FLUID_SRC = \
fluidsynth/src/fluid_settings.c \
fluidsynth/src/fluid_sys.c