git: b072fc2c5dbd - main - audio/artyfx-lv2: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jun 15 08:42:14 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b072fc2c5dbd37cea71ca9b672ddc829e98700f5

commit b072fc2c5dbd37cea71ca9b672ddc829e98700f5
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-15 08:41:04 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-15 08:41:04 +0000

    audio/artyfx-lv2: fix build on powerpc
    
    In file included from /wrkdirs/usr/ports/audio/artyfx-lv2/work/openAV-ArtyFX-release-1.3-24-g6010d1a/src/avtk/libs/pffft.cxx:101:
    /usr/lib/clang/11.0.1/include/altivec.h:13:2: error: "AltiVec support not enabled"
---
 audio/artyfx-lv2/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/artyfx-lv2/Makefile b/audio/artyfx-lv2/Makefile
index 588c31398341..bb04ee1c833f 100644
--- a/audio/artyfx-lv2/Makefile
+++ b/audio/artyfx-lv2/Makefile
@@ -29,6 +29,7 @@ OPTIONS_DEFAULT_i386=	SSE
 SSE_CMAKE_ON=	-DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse"
 
 CXXFLAGS_powerpc64=	-maltivec
+CXXFLAGS_powerpc=	-maltivec
 
 post-patch:
 	@${REINPLACE_CMD} -e 's| -g | |; s| -O1 | |; s/-msse2 -mfpmath=sse/$${PORT_SIMD_FLAGS}/g' \


More information about the dev-commits-ports-main mailing list