pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/privoxy privoxy: Add default-enabled inet6 option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/167b80db040d
branches:  trunk
changeset: 377772:167b80db040d
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Mar 21 23:18:09 2018 +0000

description:
privoxy: Add default-enabled inet6 option

Add an option inet6, to use IPv6.  Enabled by default, matching the
previous behavior.

diffstat:

 www/privoxy/Makefile   |   3 ++-
 www/privoxy/options.mk |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 277589dd7dab -r 167b80db040d www/privoxy/Makefile
--- a/www/privoxy/Makefile      Wed Mar 21 22:50:10 2018 +0000
+++ b/www/privoxy/Makefile      Wed Mar 21 23:18:09 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2018/01/07 15:08:50 leot Exp $
+# $NetBSD: Makefile,v 1.60 2018/03/21 23:18:09 gdt Exp $
 #
 
 DISTNAME=      ${PKGNAME_NOREV}-stable-src
@@ -64,6 +64,7 @@
 SUBST_SED.paths+=      -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
 SUBST_STAGE.paths=     post-patch
 
+.include "options.mk"
 
 pre-configure:
        cd ${WRKSRC} && autoheader && autoconf
diff -r 277589dd7dab -r 167b80db040d www/privoxy/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/privoxy/options.mk    Wed Mar 21 23:18:09 2018 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2018/03/21 23:18:09 gdt Exp $
+#
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.privoxy
+PKG_SUPPORTED_OPTIONS+=                inet6
+PKG_SUGGESTED_OPTIONS+=                inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6-support
+.else
+CONFIGURE_ARGS+=       --disable-ipv6-support
+.endif



Home | Main Index | Thread Index | Old Index