pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/pixman pixman: Disable NEON assembly on Darwin/arm64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e2da4c9ffdd
branches:  trunk
changeset: 387288:7e2da4c9ffdd
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 26 08:12:20 2022 +0000

description:
pixman: Disable NEON assembly on Darwin/arm64.

diffstat:

 x11/pixman/Makefile |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 878cfe934db3 -r 7e2da4c9ffdd x11/pixman/Makefile
--- a/x11/pixman/Makefile       Wed Oct 26 07:44:11 2022 +0000
+++ b/x11/pixman/Makefile       Wed Oct 26 08:12:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2022/10/22 12:22:01 he Exp $
+# $NetBSD: Makefile,v 1.86 2022/10/26 08:12:20 jperkin Exp $
 
 DISTNAME=      pixman-0.42.0
 PKGREVISION=   3
@@ -13,13 +13,19 @@
 
 CHECK_PORTABILITY_SKIP+=       Makefile.am # already patched in Makefile.in
 
-GNU_CONFIGURE=         yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    perl
+
+.include "../../mk/bsd.prefs.mk"
+
 .if ${MACHINE_ARCH} == i386
 CONFIGURE_ARGS+=       --disable-sse2
 .endif
 
-USE_LIBTOOL=   yes
-USE_TOOLS+=    perl
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
+CONFIGURE_ARGS+=       --disable-arm-a64-neon
+.endif
 
 PKGCONFIG_OVERRIDE+=   pixman-1.pc.in
 PKGCONFIG_OVERRIDE+=   pixman-1-uninstalled.pc.in



Home | Main Index | Thread Index | Old Index