diff options
author | abs <abs> | 2007-10-15 14:39:46 +0000 |
---|---|---|
committer | abs <abs> | 2007-10-15 14:39:46 +0000 |
commit | c049b2ca412952cdb29e7883277946b2268a3740 (patch) | |
tree | 49a8dc1205da0f1f940e33443d7e9245544dcfec /x11/xhost | |
parent | c8c579c7695424c64e8ff15c47950b0e1baf8f8d (diff) | |
download | pkgsrc-c049b2ca412952cdb29e7883277946b2268a3740.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/Makefile | 5 | ||||
-rw-r--r-- | x11/xhost/options.mk | 12 |
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 |