diff options
author | joerg <joerg> | 2007-07-27 23:51:59 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-07-27 23:51:59 +0000 |
commit | 6d72d09a9f45d5df119db2e29cdee0aa820564e6 (patch) | |
tree | ca49980c1def75553d03b9a1116e25f4b20f3297 /x11/libXxf86vm | |
parent | 5fe44709fc9fe821bc63af1a8704bbf60f93b632 (diff) | |
download | pkgsrc-6d72d09a9f45d5df119db2e29cdee0aa820564e6.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" |