svn commit: r472099 - head/audio/x42-plugins-lv2
Yuri Victorovich
yuri at FreeBSD.org
Sat Jun 9 23:10:50 UTC 2018
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>
More information about the svn-ports-all
mailing list