From 8b6052304992af460bb75f456aa670b979ebf502 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 13 Oct 2007 13:13:16 +0000 Subject: Make IPv6 support optional. Per PR pkg/37112 by Yakovetsky Vladimir. --- sysutils/gnome-vfs/Makefile.common | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/gnome-vfs/Makefile.common b/sysutils/gnome-vfs/Makefile.common index 84518b1b7bb..6905c5ad3e6 100644 --- a/sysutils/gnome-vfs/Makefile.common +++ b/sysutils/gnome-vfs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2007/09/21 13:04:18 wiz Exp $ +# $NetBSD: Makefile.common,v 1.4 2007/10/13 13:13:16 jmmv Exp $ # GNOME_VFS_VERSION= 2.18.1 @@ -44,7 +44,17 @@ EGDIR= ${PREFIX}/share/examples/gnome-vfs-2.0 CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor +PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-vfs +PKG_SUPPORTED_OPTIONS+= inet6 + .include "../../mk/bsd.prefs.mk" +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif # XXX Work-around for a problem in the configure script which checks for # statvfs(2) having SVR4 in mind. Solving this in the script itself could -- cgit v1.2.3