diff options
author | abs <abs@pkgsrc.org> | 2007-11-07 17:17:55 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2007-11-07 17:17:55 +0000 |
commit | d55b1cb26c4b0df0bdb4003bd9167bdd7987dd8e (patch) | |
tree | e4365a09ff17b0bc036da649cbf4d047cfb6af61 /x11 | |
parent | a1c17637476bdffa417ef0e9a05d546ae8a840b6 (diff) | |
download | pkgsrc-d55b1cb26c4b0df0bdb4003bd9167bdd7987dd8e.tar.gz |
Add explicit option check for -inet6
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xdm/Makefile | 4 | ||||
-rw-r--r-- | x11/xdm/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile index 8442fcb53a7..7d144840f99 100644 --- a/x11/xdm/Makefile +++ b/x11/xdm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/08/09 12:58:27 tron Exp $ +# $NetBSD: Makefile,v 1.5 2007/11/07 17:17:55 abs Exp $ DISTNAME= xdm-1.1.4 PKGREVISION= 4 @@ -35,6 +35,8 @@ CFLAGS+= -fno-strict-aliasing CONFIGURE_ARGS+= --with-random-device=/dev/urandom .endif +.include "options.mk" + .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" diff --git a/x11/xdm/options.mk b/x11/xdm/options.mk new file mode 100644 index 00000000000..d458dbd267e --- /dev/null +++ b/x11/xdm/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2007/11/07 17:17:55 abs Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.xdm +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |