Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2023 21:39:29 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eb8172810446 - main - x11/pixman: allow altivec on powerpc with compatible MACHINE_CPU
Message-ID:  <202306172139.35HLdTQa027999@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit eb8172810446c01edc74028d51b8500e60734ce5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-17 21:38:16 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-17 21:39:22 +0000

    x11/pixman: allow altivec on powerpc with compatible MACHINE_CPU
---
 x11/pixman/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306172139.35HLdTQa027999>