svn commit: r472101 - in head/audio/gmsynth-lv2: . files

Yuri Victorovich yuri at FreeBSD.org
Sat Jun 9 23:28:06 UTC 2018


Author: yuri
Date: Sat Jun  9 23:28:05 2018
New Revision: 472101
URL: https://svnweb.freebsd.org/changeset/ports/472101

Log:
  audio/gmsynth-lv2: Fix SIMD flags handling

Modified:
  head/audio/gmsynth-lv2/Makefile
  head/audio/gmsynth-lv2/files/patch-Makefile

Modified: head/audio/gmsynth-lv2/Makefile
==============================================================================
--- head/audio/gmsynth-lv2/Makefile	Sat Jun  9 23:21:57 2018	(r472100)
+++ head/audio/gmsynth-lv2/Makefile	Sat Jun  9 23:28:05 2018	(r472101)
@@ -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>

Modified: head/audio/gmsynth-lv2/files/patch-Makefile
==============================================================================
--- head/audio/gmsynth-lv2/files/patch-Makefile	Sat Jun  9 23:21:57 2018	(r472100)
+++ head/audio/gmsynth-lv2/files/patch-Makefile	Sat Jun  9 23:28:05 2018	(r472101)
@@ -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


More information about the svn-ports-all mailing list