diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-06 13:59:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-06 13:59:34 +0000 |
commit | ca0803c179da361b1c77ab034ce048d4863bf34a (patch) | |
tree | 5dde806eec3a90e3bbb7b006d7ae976fe196677e /x11 | |
parent | 0428ea672249a92ae9be55ef034845c57151f199 (diff) | |
download | pkgsrc-ca0803c179da361b1c77ab034ce048d4863bf34a.tar.gz |
On NetBSD, malloc(0) normally does not return NULL. Mark it so
for cross-compilation.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libXevie/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXevie/Makefile b/x11/libXevie/Makefile index 3fdc1f0549b..d32950fb046 100644 --- a/x11/libXevie/Makefile +++ b/x11/libXevie/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 21:50:18 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2007/08/06 13:59:34 joerg Exp $ # DISTNAME= libXevie-1.0.2 @@ -19,6 +19,12 @@ USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= xevie.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --disable-malloc0returnsnull +.endif + .include "../../x11/evieext/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" |