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 | 98247e1c01892039361d2d6f01bc8d34dad0718b (patch) | |
tree | e63bf6ee4c1014d69259767057bb30b225e2e7f6 /x11/libXt | |
parent | 7fb8b5f75fae7cd9b9eb554beebf292d3cf218a9 (diff) | |
download | pkgsrc-98247e1c01892039361d2d6f01bc8d34dad0718b.tar.gz |
Wire down malloc(0) != NULL for more Xorg packages on NetBSD.
Diffstat (limited to 'x11/libXt')
-rw-r--r-- | x11/libXt/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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" |