Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 23:10:49 +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: r472099 - head/audio/x42-plugins-lv2
Message-ID:  <201806092310.w59NAnI2081697@repo.freebsd.org>

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

Log:
  audio/x42-plugins-lv2: Fix SIMD flags handling
  
  Also remove the redundant strip command.

Modified:
  head/audio/x42-plugins-lv2/Makefile

Modified: head/audio/x42-plugins-lv2/Makefile
==============================================================================
--- head/audio/x42-plugins-lv2/Makefile	Sat Jun  9 21:38:38 2018	(r472098)
+++ head/audio/x42-plugins-lv2/Makefile	Sat Jun  9 23:10:49 2018	(r472099)
@@ -41,6 +41,8 @@ OPTIONS_DEFINE_i386=	SSE
 OPTIONS_DEFAULT_amd64=	SSE
 OPTIONS_DEFAULT_i386=	SSE
 
+SSE_MAKE_ARGS=	PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
+
 post-patch:
 	@${REINPLACE_CMD} 's| -O3||' \
 		${WRKSRC}/*.lv2/Makefile
@@ -50,12 +52,7 @@ post-patch:
 	@${REINPLACE_CMD} 's|$$(mandir)/man1|$$(MANDIR)|' \
 		${WRKSRC}/sisco.lv2/Makefile
 	@cd ${WRKSRC} && ${RM} -r convoLV2 && ${MV} convoLV2zita4 convoLV2
-
-post-patch-SSE-off:
-	@${REINPLACE_CMD} 's| -msse -msse2 -mfpmath=sse||' \
+	@${REINPLACE_CMD} 's| -msse -msse2 -mfpmath=sse| $$(PORT_SIMD_FLAGS)|' \
 		${WRKSRC}/*.lv2/Makefile ${WRKSRC}/convoLV2/Makefile
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/convo.lv2/convoLV2.so
 
 .include <bsd.port.mk>



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