summaryrefslogtreecommitdiff
path: root/x11/libXp/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:57:45 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:57:45 +0000
commit97f4078fc66b31385abf80fccbd0ad2c025fe60f (patch)
treeba40492c0d12e5e3607803f3192c1d24923347ba /x11/libXp/Makefile
parentff2ff9e81927ce4912893dae7f00cc43823bb857 (diff)
downloadpkgsrc-97f4078fc66b31385abf80fccbd0ad2c025fe60f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'x11/libXp/Makefile')
-rw-r--r--x11/libXp/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11/libXp/Makefile b/x11/libXp/Makefile
index ab62550f942..3f662f70ee1 100644
--- a/x11/libXp/Makefile
+++ b/x11/libXp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2015/02/23 07:33:40 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2016/02/26 11:27:15 jperkin Exp $
DISTNAME= libXp-1.0.3
CATEGORIES= x11 print
@@ -16,11 +16,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xp.pc.in
-.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= --disable-malloc0returnsnull
-.endif
+.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "native"
XPRINT_CFLAGS= -I${X11BASE}/include