diff options
author | abs <abs@pkgsrc.org> | 2007-11-07 11:51:52 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2007-11-07 11:51:52 +0000 |
commit | ef77fd8fa4fb54aae109dd12c1d00c786f106b37 (patch) | |
tree | 11744c775dbbb516a36a7b3397588ef51823b46b /x11 | |
parent | 985099778ba5477fe4e10b802608fe7341791809 (diff) | |
download | pkgsrc-ef77fd8fa4fb54aae109dd12c1d00c786f106b37.tar.gz |
Add explicit option check for -inet6
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libICE/Makefile | 4 | ||||
-rw-r--r-- | x11/libICE/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/libICE/Makefile b/x11/libICE/Makefile index 9363e1da4ae..3db709ddeab 100644 --- a/x11/libICE/Makefile +++ b/x11/libICE/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/01/22 14:47:30 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2007/11/07 11:51:52 abs Exp $ # DISTNAME= libICE-1.0.3 @@ -19,6 +19,8 @@ USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= ice.pc.in +.include "options.mk" + .include "../../x11/xproto/buildlink3.mk" .include "../../x11/xtrans/buildlink3.mk" diff --git a/x11/libICE/options.mk b/x11/libICE/options.mk new file mode 100644 index 00000000000..3a188a04e0f --- /dev/null +++ b/x11/libICE/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2007/11/07 11:51:52 abs Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libICE +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |