summaryrefslogtreecommitdiff
path: root/x11/libXext
diff options
context:
space:
mode:
authorjoerg <joerg>2007-07-03 13:35:49 +0000
committerjoerg <joerg>2007-07-03 13:35:49 +0000
commit153443b170288283c9b0330b39532f8b4bcdeae9 (patch)
treee63bf6ee4c1014d69259767057bb30b225e2e7f6 /x11/libXext
parentecd3a187a48b7871a04c5a7f971afe1bbad4bdf5 (diff)
downloadpkgsrc-153443b170288283c9b0330b39532f8b4bcdeae9.tar.gz
Wire down malloc(0) != NULL for more Xorg packages on NetBSD.
Diffstat (limited to 'x11/libXext')
-rw-r--r--x11/libXext/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index 3542a4473dd..5bfa626e89d 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/02/26 14:58:17 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/03 13:35:49 joerg Exp $
#
DISTNAME= libXext-1.0.3
@@ -19,6 +19,12 @@ USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= xext.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"