diff options
author | abs <abs> | 2007-11-09 11:34:47 +0000 |
---|---|---|
committer | abs <abs> | 2007-11-09 11:34:47 +0000 |
commit | 844f0044a47a190866b748b6ea12b40e90a01cc1 (patch) | |
tree | c90353c40a646cfa057e36fbfbfce60404927fbb /x11 | |
parent | 4a2f5eed7b7ab8b9d294c9f9c73a775cdab1ecf7 (diff) | |
download | pkgsrc-844f0044a47a190866b748b6ea12b40e90a01cc1.tar.gz |
Add explicit option check for -inet6
Diffstat (limited to 'x11')
-rw-r--r-- | x11/modular-xorg-server/Makefile | 4 | ||||
-rw-r--r-- | x11/modular-xorg-server/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile index aa778dc9e9f..50cba2d7afa 100644 --- a/x11/modular-xorg-server/Makefile +++ b/x11/modular-xorg-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/10/30 10:56:43 shannonjr Exp $ +# $NetBSD: Makefile,v 1.22 2007/11/09 11:34:47 abs Exp $ DISTNAME= xorg-server-1.3.0.0 PKGNAME= modular-${DISTNAME} @@ -67,6 +67,8 @@ post-extract: ${LN} -s ${MESA_SRC:Q}/include/GL ${WRKSRC:Q}/GL/glx/GL .endif +.include "options.mk" + .include "../../devel/ncurses/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/libfontenc/buildlink3.mk" diff --git a/x11/modular-xorg-server/options.mk b/x11/modular-xorg-server/options.mk new file mode 100644 index 00000000000..c0d46f34bd4 --- /dev/null +++ b/x11/modular-xorg-server/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2007/11/09 11:34:47 abs Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |