diff options
author | jmmv <jmmv@pkgsrc.org> | 2007-10-13 13:13:16 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2007-10-13 13:13:16 +0000 |
commit | 8b6052304992af460bb75f456aa670b979ebf502 (patch) | |
tree | b4a9cf194a45dc827a8019f9c44ed81079b69fb1 /sysutils | |
parent | fac45e1e90bca20c4d5696cd764d387db8bbe576 (diff) | |
download | pkgsrc-8b6052304992af460bb75f456aa670b979ebf502.tar.gz |
Make IPv6 support optional. Per PR pkg/37112 by Yakovetsky Vladimir.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnome-vfs/Makefile.common | 12 |
1 files changed, 11 insertions, 1 deletions
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 |