audio/x42-plugins-lv2: Fix SIMD flags handling
Also remove the redundant strip command.
This commit is contained in:
parent
4298e83631
commit
83401453e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472099
1 changed files with 3 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue