Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 23:21:58 +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: r472100 - in head/audio/avldrums-lv2: . files
Message-ID:  <201806092321.w59NLwd7089729@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jun  9 23:21:57 2018
New Revision: 472100
URL: https://svnweb.freebsd.org/changeset/ports/472100

Log:
  audio/avldrums-lv2: Fix SIMD flags handling
  
  Also change WWW to https.

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

Modified: head/audio/avldrums-lv2/Makefile
==============================================================================
--- head/audio/avldrums-lv2/Makefile	Sat Jun  9 23:10:49 2018	(r472099)
+++ head/audio/avldrums-lv2/Makefile	Sat Jun  9 23:21:57 2018	(r472100)
@@ -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>

Added: head/audio/avldrums-lv2/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/avldrums-lv2/files/patch-Makefile	Sat Jun  9 23:21:57 2018	(r472100)
@@ -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
+ 

Modified: head/audio/avldrums-lv2/pkg-descr
==============================================================================
--- head/audio/avldrums-lv2/pkg-descr	Sat Jun  9 23:10:49 2018	(r472099)
+++ head/audio/avldrums-lv2/pkg-descr	Sat Jun  9 23:21:57 2018	(r472100)
@@ -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



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