summaryrefslogtreecommitdiff
path: root/x11/xhost
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-10-15 14:39:46 +0000
committerabs <abs@pkgsrc.org>2007-10-15 14:39:46 +0000
commit766b8a982a46bb8f0a55230323039a2f984e4c27 (patch)
tree49a8dc1205da0f1f940e33443d7e9245544dcfec /x11/xhost
parent91b4d7bd835d0c7a86396e9169d5defb17fc6651 (diff)
downloadpkgsrc-766b8a982a46bb8f0a55230323039a2f984e4c27.tar.gz
Update to xhost-1.0.2nb1: Explicitly pass inet6 setting to configure - from Yakovetsky Vladimir in PR/37115
Diffstat (limited to 'x11/xhost')
-rw-r--r--x11/xhost/Makefile5
-rw-r--r--x11/xhost/options.mk12
2 files changed, 16 insertions, 1 deletions
diff --git a/x11/xhost/Makefile b/x11/xhost/Makefile
index d5b25358b0f..f40615a2337 100644
--- a/x11/xhost/Makefile
+++ b/x11/xhost/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/08/05 21:25:54 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2007/10/15 14:39:46 abs Exp $
#
DISTNAME= xhost-1.0.2
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
EXTRACT_SUFX= .tar.bz2
@@ -17,6 +18,8 @@ USE_TOOLS+= pkg-config
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+.include "options.mk"
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
diff --git a/x11/xhost/options.mk b/x11/xhost/options.mk
new file mode 100644
index 00000000000..039f68caa23
--- /dev/null
+++ b/x11/xhost/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/10/15 14:39:47 abs Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xhost
+PKG_SUPPORTED_OPTIONS+= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif