pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind910 Add bind-json-statistics-server option to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4626f14d4f9
branches:  trunk
changeset: 646664:a4626f14d4f9
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Feb 13 13:50:32 2015 +0000

description:
Add bind-json-statistics-server option to bind910

diffstat:

 net/bind910/options.mk |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 701ef3c6c9e7 -r a4626f14d4f9 net/bind910/options.mk
--- a/net/bind910/options.mk    Fri Feb 13 13:39:56 2015 +0000
+++ b/net/bind910/options.mk    Fri Feb 13 13:50:32 2015 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+# $NetBSD: options.mk,v 1.2 2015/02/13 13:50:32 fhajny Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.bind910
 PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
+PKG_SUPPORTED_OPTIONS+=        bind-json-statistics-server
 PKG_SUPPORTED_OPTIONS+=        inet6 threads readline mysql pgsql ldap dlz-filesystem
 PKG_SUPPORTED_OPTIONS+=        rrl
 PKG_SUGGESTED_OPTIONS+=        readline
@@ -69,6 +70,16 @@
 .endif
 
 ###
+### The statistics server in bind910 and later supports json
+###
+.if !empty(PKG_OPTIONS:Mbind-json-statistics-server)
+.include "../../textproc/json-c/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libjson
+.else
+CONFIGURE_ARGS+=       --without-libjson
+.endif
+
+###
 ### IPv6 support
 ###
 .if !empty(PKG_OPTIONS:Minet6)



Home | Main Index | Thread Index | Old Index