diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-27 23:51:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-27 23:51:59 +0000 |
commit | 280a8c9f57b1233d3a208b12ee3b1ac38c8ac397 (patch) | |
tree | ca49980c1def75553d03b9a1116e25f4b20f3297 /x11/libXxf86vm | |
parent | 33e65a780e07b0f50700446e5e22558c25915bcf (diff) | |
download | pkgsrc-280a8c9f57b1233d3a208b12ee3b1ac38c8ac397.tar.gz |
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
Diffstat (limited to 'x11/libXxf86vm')
-rw-r--r-- | x11/libXxf86vm/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXxf86vm/Makefile b/x11/libXxf86vm/Makefile index b8148f08023..4197a41204f 100644 --- a/x11/libXxf86vm/Makefile +++ b/x11/libXxf86vm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/11/14 15:06:45 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2007/07/27 23:51:59 joerg Exp $ # DISTNAME= libXxf86vm-1.0.1 @@ -20,6 +20,12 @@ GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE+= xxf86vm.pc.in CONFIGURE_ENV+= LIB_MAN_SUFFIX=3 +.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" |