summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-27 23:42:56 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-27 23:42:56 +0000
commit1e73ce0fd977e3d1e396fb4b7a3b7283c82cec9a (patch)
treea516ea38f998d5d1a2764ef1efbd6d1133c26c54 /x11
parentd02254f49175209d6a9e970d81c1e2875f73a721 (diff)
downloadpkgsrc-1e73ce0fd977e3d1e396fb4b7a3b7283c82cec9a.tar.gz
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
Diffstat (limited to 'x11')
-rw-r--r--x11/libXi/Makefile8
-rw-r--r--x11/libXinerama/Makefile8
-rw-r--r--x11/libXxf86dga/Makefile8
-rw-r--r--x11/libXxf86misc/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/x11/libXi/Makefile b/x11/libXi/Makefile
index 18b315449c1..fac93ead55f 100644
--- a/x11/libXi/Makefile
+++ b/x11/libXi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/07/12 17:11:57 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/27 23:42:56 joerg Exp $
#
DISTNAME= libXi-1.1.1
@@ -20,6 +20,12 @@ USE_TOOLS+= pkg-config
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xi.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff --git a/x11/libXinerama/Makefile b/x11/libXinerama/Makefile
index 14ea91af121..62b95ee1c29 100644
--- a/x11/libXinerama/Makefile
+++ b/x11/libXinerama/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/17 17:54:14 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/27 23:44:00 joerg Exp $
DISTNAME= libXinerama-1.0.2
CATEGORIES= x11
@@ -19,6 +19,12 @@ USE_TOOLS+= pkg-config
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xinerama.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
diff --git a/x11/libXxf86dga/Makefile b/x11/libXxf86dga/Makefile
index 1e48e207694..72fcaa2fd86 100644
--- a/x11/libXxf86dga/Makefile
+++ b/x11/libXxf86dga/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/19 09:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/27 23:47:48 joerg Exp $
#
DISTNAME= libXxf86dga-1.0.1
@@ -20,6 +20,12 @@ CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xxf86dga.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
diff --git a/x11/libXxf86misc/Makefile b/x11/libXxf86misc/Makefile
index 00b9e6fef8c..ff29f6166f7 100644
--- a/x11/libXxf86misc/Makefile
+++ b/x11/libXxf86misc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/11/14 14:58:54 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/07/27 23:49:59 joerg Exp $
#
DISTNAME= libXxf86misc-1.0.1
@@ -19,6 +19,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/xproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"