aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-17 21:38:16 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-17 21:39:22 +0000
commiteb8172810446c01edc74028d51b8500e60734ce5 (patch)
treedb786bebf489a2c372738e59f11250484e317779
parentbf627c44188660264cb3daa7ad974e82e5a5e13a (diff)
downloadports-eb8172810446c01edc74028d51b8500e60734ce5.tar.gz
ports-eb8172810446c01edc74028d51b8500e60734ce5.zip
x11/pixman: allow altivec on powerpc with compatible MACHINE_CPU
-rw-r--r--x11/pixman/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index a8861eb163d8..226db1a7a695 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -29,7 +29,7 @@ CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as"
LLD_UNSAFE= yes
.elif ${ARCH} == "aarch64"
CONFIGURE_ARGS+= --disable-arm-a64-neon
-.elif ${ARCH} == "powerpc"
+.elif (defined(MACHINE_CPU) && !${MACHINE_CPU:Maltivec}) || (${ARCH} == powerpc && !defined(MACHINE_CPU))
CONFIGURE_ARGS+= --disable-vmx
.endif