diff options
author | abs <abs> | 2007-11-07 17:17:55 +0000 |
---|---|---|
committer | abs <abs> | 2007-11-07 17:17:55 +0000 |
commit | 74198fc60c5a74999d5b2405fd18d85ef3b2204d (patch) | |
tree | e4365a09ff17b0bc036da649cbf4d047cfb6af61 /x11/xdm | |
parent | 1b66574eb24e7db0a0d5932b907e12ec5bc1451f (diff) | |
download | pkgsrc-74198fc60c5a74999d5b2405fd18d85ef3b2204d.tar.gz |
Add explicit option check for -inet6
Diffstat (limited to 'x11/xdm')
-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 |