diff options
-rw-r--r-- | net/vino/Makefile | 4 | ||||
-rw-r--r-- | net/vino/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/vino/Makefile b/net/vino/Makefile index 923f4f4cbbf..1267af6d8f6 100644 --- a/net/vino/Makefile +++ b/net/vino/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/06/05 05:37:32 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2007/08/14 09:30:56 obache Exp $ DISTNAME= vino-2.18.1 PKGREVISION= 1 @@ -20,6 +20,8 @@ GCONF2_SCHEMAS= vino-server.schemas BUILDLINK_DEPMETHOD.libXt?= build +.include "options.mk" + .include "../../devel/GConf2/schemas.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/libbonobo/buildlink3.mk" diff --git a/net/vino/options.mk b/net/vino/options.mk new file mode 100644 index 00000000000..a1d0a71562e --- /dev/null +++ b/net/vino/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2007/08/14 09:30:56 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.vino +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |