diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-27 23:42:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-27 23:42:56 +0000 |
commit | 1e73ce0fd977e3d1e396fb4b7a3b7283c82cec9a (patch) | |
tree | a516ea38f998d5d1a2764ef1efbd6d1133c26c54 /x11/libXxf86misc/Makefile | |
parent | d02254f49175209d6a9e970d81c1e2875f73a721 (diff) | |
download | pkgsrc-1e73ce0fd977e3d1e396fb4b7a3b7283c82cec9a.tar.gz |
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
Diffstat (limited to 'x11/libXxf86misc/Makefile')
-rw-r--r-- | x11/libXxf86misc/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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" |