summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-07-14 05:31:57 +0000
committertnn <tnn@pkgsrc.org>2008-07-14 05:31:57 +0000
commit9fd37ed37a6f5a2bf4ab9a62c0d8510a569a6bbb (patch)
treed5b521ce3b52d6d6841beb9d0e7646ccdc2993ec /x11
parent34eae36228e3dc213229d6b5dcea130e62994ac2 (diff)
downloadpkgsrc-9fd37ed37a6f5a2bf4ab9a62c0d8510a569a6bbb.tar.gz
pixman-0.11.6 added a configure flag called --disable-sse2.
Use this when building with Sun Studio, since my original fix (patch-ae) was reverted again.
Diffstat (limited to 'x11')
-rw-r--r--x11/pixman/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index e49ad50e627..5e5ac52c222 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/07/13 23:16:02 bjs Exp $
+# $NetBSD: Makefile,v 1.15 2008/07/14 05:31:57 tnn Exp $
#
DISTNAME= pixman-0.11.6
@@ -30,6 +30,12 @@ PKGCONFIG_OVERRIDE+= pixman-1.pc.in
MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q}
PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CONFIGURE_ARGS+= --disable-sse2
+.endif
+
post-extract:
${CP} ${FILESDIR}/pixman.sym ${WRKDIR}