summaryrefslogtreecommitdiff
path: root/x11/libXinerama
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-26 10:57:45 +0000
committerjperkin <jperkin>2016-02-26 10:57:45 +0000
commit199514e0409206c95b7044cdde47a318a260b818 (patch)
treeba40492c0d12e5e3607803f3192c1d24923347ba /x11/libXinerama
parent1586215196909b86b4bbf51a908785aef36509d5 (diff)
downloadpkgsrc-199514e0409206c95b7044cdde47a318a260b818.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'x11/libXinerama')
-rw-r--r--x11/libXinerama/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/x11/libXinerama/Makefile b/x11/libXinerama/Makefile
index f48b52b8601..f6bfa6f7b55 100644
--- a/x11/libXinerama/Makefile
+++ b/x11/libXinerama/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2014/10/09 14:07:14 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2016/02/26 11:27:15 jperkin Exp $
DISTNAME= libXinerama-1.1.3
CATEGORIES= x11
@@ -16,11 +16,7 @@ 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
+CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
.include "../../meta-pkgs/modular-xorg/hacks.mk"