git: c6c6e67d83c2 - main - audio/flac: don't disable VSX on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 02:43:59 UTC
The branch main has been updated by pkubaj:

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

commit c6c6e67d83c284fe3a00fa1ef502a7242dfd5dbc
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-01 02:42:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-01 02:42:34 +0000

    audio/flac: don't disable VSX on powerpc64le
    
    No reason to disable SIMD, builds fine.
---
 audio/flac/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index d7d9ee40d4f8..422615f18901 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -25,7 +25,6 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-static \
 		--disable-sse \
-		--disable-vsx \
 		--with-ogg="${LOCALBASE}" \
 		--disable-doxygen-docs \
 		--disable-thorough-tests \
@@ -41,6 +40,10 @@ OPTIONS_DEFINE=	DOCS
 BUILD_DEPENDS+=	nasm:devel/nasm
 .endif
 
+.if ${ARCH} != powerpc64le
+CONFIGURE_ARGS+=--disable-vsx
+.endif
+
 post-install:
 	${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' \
 	    ${STAGEDIR}${PREFIX}/man/man1/flac.1