diff options
author | tron <tron@pkgsrc.org> | 2011-07-12 13:28:31 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-07-12 13:28:31 +0000 |
commit | 1d3feeab05ca4d12a3c4e5a1efb4ff3c1eb7a56d (patch) | |
tree | 8018aa421cb294b99c3f3ee1d8f476f4a1707c3d /x11/pixman | |
parent | f63d27d2499bf7294cfcb332b3e0663c0bbb10a1 (diff) | |
download | pkgsrc-1d3feeab05ca4d12a3c4e5a1efb4ff3c1eb7a56d.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/pixman')
-rw-r--r-- | x11/pixman/Makefile | 7 |
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 |