summaryrefslogtreecommitdiff
path: root/x11/libXp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libXp/Makefile')
-rw-r--r--x11/libXp/Makefile8
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"