pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-vfs Make IPv6 support optional. Per PR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4244fd1bb727
branches:  trunk
changeset: 534181:4244fd1bb727
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Oct 13 13:13:16 2007 +0000

description:
Make IPv6 support optional.  Per PR pkg/37112 by Yakovetsky Vladimir.

diffstat:

 sysutils/gnome-vfs/Makefile.common |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 2c17767967e7 -r 4244fd1bb727 sysutils/gnome-vfs/Makefile.common
--- a/sysutils/gnome-vfs/Makefile.common        Sat Oct 13 12:59:51 2007 +0000
+++ b/sysutils/gnome-vfs/Makefile.common        Sat Oct 13 13:13:16 2007 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index