From 6af19449db72ca487ef56fc677f0a870c73850e2 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 12 Jul 2011 13:28:31 +0000 Subject: Disable SSE2 support for NetBSD-*-x86_64. This prevents segfaults under NetBSD/amd64 5.1_STABLE. Bump package revision because of this change. It is possible that SSE2 support works fine if "pixman" is built with NetBSD-current's newer toolchain. If you have such a setup please test it and adjust the package accordingly if appropriate. --- x11/pixman/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile index bf40b705eba..910487abab0 100644 --- a/x11/pixman/Makefile +++ b/x11/pixman/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.41 2011/07/11 19:19:42 tron Exp $ +# $NetBSD: Makefile,v 1.42 2011/07/12 13:28:31 tron Exp $ DISTNAME= pixman-0.22.2 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XORG:=lib/} EXTRACT_SUFX= .tar.bz2 @@ -44,9 +45,11 @@ post-extract: .include "../../mk/bsd.prefs.mk" +.if !empty(MACHINE_PLATFORM:NetBSD-*-x86_64) +CONFIGURE_ARGS+= --disable-sse2 # Link the tests with the static library under Mac OS X as we cannot use # the shared library out of the build area. -.if ${OPSYS} == "Darwin" +.elif ${OPSYS} == "Darwin" SUBST_CLASSES+= pixmantests SUBST_STAGE.pixmantests= post-configure SUBST_FILES.pixmantests= test/Makefile -- cgit v1.2.3