Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2019 17:30:53 +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: r493774 - in head/audio/gmsynth-lv2: . files
Message-ID:  <201902241730.x1OHUrbC022365@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Feb 24 17:30:52 2019
New Revision: 493774
URL: https://svnweb.freebsd.org/changeset/ports/493774

Log:
  audio/gmsynth-lv2: fix build with GCC-based architectures
  
  It was a missing patch for Makefile, that the port option was relying on.
  Also, rename the option SSE->SIMD.
  
  PR:		235987
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>

Added:
  head/audio/gmsynth-lv2/files/
  head/audio/gmsynth-lv2/files/patch-Makefile   (contents, props changed)
Modified:
  head/audio/gmsynth-lv2/Makefile

Modified: head/audio/gmsynth-lv2/Makefile
==============================================================================
--- head/audio/gmsynth-lv2/Makefile	Sun Feb 24 16:56:02 2019	(r493773)
+++ head/audio/gmsynth-lv2/Makefile	Sun Feb 24 17:30:52 2019	(r493774)
@@ -3,6 +3,7 @@
 PORTNAME=	gmsynth
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.2
+PORTREVISION=	1
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-lv2
 
@@ -26,11 +27,11 @@ PLIST_FILES=	lib/lv2/${PORTNAME}.lv2/GeneralUser_LV2.s
 		lib/lv2/${PORTNAME}.lv2/${PORTNAME}.ttl \
 		lib/lv2/${PORTNAME}.lv2/manifest.ttl
 
-OPTIONS_DEFINE_amd64=	SSE
-OPTIONS_DEFINE_i386=	SSE
-OPTIONS_DEFAULT_amd64=	SSE
-OPTIONS_DEFAULT_i386=	SSE
+OPTIONS_DEFINE_amd64=	SIMD
+OPTIONS_DEFINE_i386=	SIMD
+OPTIONS_DEFAULT_amd64=	SIMD
+OPTIONS_DEFAULT_i386=	SIMD
 
-SSE_MAKE_ENV=		PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
+SIMD_MAKE_ENV=		PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
 
 .include <bsd.port.mk>

Added: head/audio/gmsynth-lv2/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gmsynth-lv2/files/patch-Makefile	Sun Feb 24 17:30:52 2019	(r493774)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2019-02-24 17:24:37 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
+ 



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