diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-27 20:05:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-27 20:05:24 +0000 |
commit | 1ceee9c9f50781445b7fd44e3d324c5086ff8ec9 (patch) | |
tree | ff770c04f4a3313d8cf5b3662b15fc94588d4d0a /x11 | |
parent | 0df85924cf247e7d63d572371154e9c4fa867114 (diff) | |
download | pkgsrc-1ceee9c9f50781445b7fd44e3d324c5086ff8ec9.tar.gz |
For cross-compilation, inform configure that malloc(0) != NULL
on NetBSD under normal circumstances.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libXp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXp/Makefile b/x11/libXp/Makefile index eab86fad627..6fe58682ccf 100644 --- a/x11/libXp/Makefile +++ b/x11/libXp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 21:01:49 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2007/07/27 20:05:24 joerg Exp $ # DISTNAME= libXp-1.0.0 @@ -19,6 +19,12 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= LIB_MAN_SUFFIX=3 PKGCONFIG_OVERRIDE+= xp.pc.in +.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/printproto/buildlink3.mk" |