diff options
author | joerg <joerg> | 2007-07-28 00:48:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-07-28 00:48:10 +0000 |
commit | 06475c9542fd21884b62512269b69ffbdd18cf8e (patch) | |
tree | 552b25dd17ac21fbc002979a094989a0be7dce01 /x11/libXv | |
parent | a4864d3b5acf9b07717cb904c29b0a871482cc2a (diff) | |
download | pkgsrc-06475c9542fd21884b62512269b69ffbdd18cf8e.tar.gz |
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
Diffstat (limited to 'x11/libXv')
-rw-r--r-- | x11/libXv/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXv/Makefile b/x11/libXv/Makefile index 99c4aa396d0..9e211f3be20 100644 --- a/x11/libXv/Makefile +++ b/x11/libXv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/01/23 13:44:08 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2007/07/28 00:48:10 joerg Exp $ # DISTNAME= libXv-1.0.3 @@ -18,6 +18,12 @@ PKGCONFIG_OVERRIDE+= xv.pc.in GNU_CONFIGURE= yes USE_TOOLS+= pkg-config +.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/videoproto/buildlink3.mk" |