Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 23:28:05 +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: r472101 - in head/audio/gmsynth-lv2: . files
Message-ID:  <201806092328.w59NS5HK091772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806092328.w59NS5HK091772>