summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron>2011-07-12 13:28:31 +0000
committertron <tron>2011-07-12 13:28:31 +0000
commit6af19449db72ca487ef56fc677f0a870c73850e2 (patch)
tree8018aa421cb294b99c3f3ee1d8f476f4a1707c3d /x11
parented6dbc16ce464178e96f4844e6a7a555ef76b517 (diff)
downloadpkgsrc-6af19449db72ca487ef56fc677f0a870c73850e2.tar.gz
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.
Diffstat (limited to 'x11')
-rw-r--r--x11/pixman/Makefile7
1 files 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