diff options
Diffstat (limited to 'x11/libXinerama/Makefile')
-rw-r--r-- | x11/libXinerama/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXinerama/Makefile b/x11/libXinerama/Makefile index 14ea91af121..62b95ee1c29 100644 --- a/x11/libXinerama/Makefile +++ b/x11/libXinerama/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/17 17:54:14 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2007/07/27 23:44:00 joerg Exp $ DISTNAME= libXinerama-1.0.2 CATEGORIES= x11 @@ -19,6 +19,12 @@ USE_TOOLS+= pkg-config CONFIGURE_ENV+= LIB_MAN_SUFFIX=3 PKGCONFIG_OVERRIDE+= xinerama.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/xextproto/buildlink3.mk" |