diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-03 13:35:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-03 13:35:49 +0000 |
commit | fa3e8e36f943b91d9e0ce955b1413de422524561 (patch) | |
tree | e63bf6ee4c1014d69259767057bb30b225e2e7f6 | |
parent | a492fc94e4fbcc7834306b3bc1847dae98554832 (diff) | |
download | pkgsrc-fa3e8e36f943b91d9e0ce955b1413de422524561.tar.gz |
Wire down malloc(0) != NULL for more Xorg packages on NetBSD.
-rw-r--r-- | x11/libX11/Makefile | 8 | ||||
-rw-r--r-- | x11/libXext/Makefile | 8 | ||||
-rw-r--r-- | x11/libXt/Makefile | 8 |
3 files changed, 21 insertions, 3 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile index 0ef07fe0777..f58a56ec422 100644 --- a/x11/libX11/Makefile +++ b/x11/libX11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/04/03 20:28:38 drochner Exp $ +# $NetBSD: Makefile,v 1.5 2007/07/03 13:35:49 joerg Exp $ # DISTNAME= libX11-1.1.1 @@ -24,6 +24,12 @@ CONFIGURE_ARGS+= --enable-man-pages=3 CONFIGURE_ARGS+= --without-xcb PKGCONFIG_OVERRIDE+= x11.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --disable-malloc0returnsnull +.endif + .include "../../x11/bigreqsproto/buildlink3.mk" .include "../../x11/inputproto/buildlink3.mk" .include "../../x11/kbproto/buildlink3.mk" 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" diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile index 7287ddf6fc1..96a9f168f90 100644 --- a/x11/libXt/Makefile +++ b/x11/libXt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/02/26 15:06:37 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2007/07/03 13:35:49 joerg Exp $ # DISTNAME= libXt-1.0.5 @@ -21,6 +21,12 @@ CONFIGURE_ARGS+= --with-appdefaultdir=${PREFIX}/lib/X11/app-defaults CONFIGURE_ENV+= APP_MAN_SUFFIX=1 LIB_MAN_SUFFIX=3 PKGCONFIG_OVERRIDE+= xt.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --disable-malloc0returnsnull +.endif + .include "../../x11/libSM/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/kbproto/buildlink3.mk" |