Fri Feb 13 13:50:32 2015 UTC ()
Add bind-json-statistics-server option to bind910


(fhajny)
diff -r1.1.1.1 -r1.2 pkgsrc/net/bind910/options.mk

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/bind910/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/net/bind910/Attic/options.mk 2014/07/02 02:42:58 1.1.1.1
+++ pkgsrc/net/bind910/Attic/options.mk 2015/02/13 13:50:32 1.2
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: options.mk,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $ 1# $NetBSD: options.mk,v 1.2 2015/02/13 13:50:32 fhajny Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.bind910 3PKG_OPTIONS_VAR= PKG_OPTIONS.bind910
4PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server 4PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
 5PKG_SUPPORTED_OPTIONS+= bind-json-statistics-server
5PKG_SUPPORTED_OPTIONS+= inet6 threads readline mysql pgsql ldap dlz-filesystem 6PKG_SUPPORTED_OPTIONS+= inet6 threads readline mysql pgsql ldap dlz-filesystem
6PKG_SUPPORTED_OPTIONS+= rrl 7PKG_SUPPORTED_OPTIONS+= rrl
7PKG_SUGGESTED_OPTIONS+= readline 8PKG_SUGGESTED_OPTIONS+= readline
8 9
9PTHREAD_OPTS+= native 10PTHREAD_OPTS+= native
10.include "../../mk/pthread.buildlink3.mk" 11.include "../../mk/pthread.buildlink3.mk"
11 12
12.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") || \ 13.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") || \
13 !empty(MACHINE_PLATFORM:MNetBSD-*-vax) || \ 14 !empty(MACHINE_PLATFORM:MNetBSD-*-vax) || \
14 !empty(MACHINE_PLATFORM:MNetBSD-*-sparc) || \ 15 !empty(MACHINE_PLATFORM:MNetBSD-*-sparc) || \
15 !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || \ 16 !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || \
16 !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) 17 !empty(MACHINE_PLATFORM:MNetBSD-*-m68k)
17# don't touch PKG_SUGGESTED_OPTIONS 18# don't touch PKG_SUGGESTED_OPTIONS
@@ -59,26 +60,36 @@ CONFIGURE_ARGS+= --enable-rrl @@ -59,26 +60,36 @@ CONFIGURE_ARGS+= --enable-rrl
59.endif 60.endif
60 61
61### 62###
62### The statistics server in bind99 and later needs libxml2 63### The statistics server in bind99 and later needs libxml2
63### 64###
64.if !empty(PKG_OPTIONS:Mbind-xml-statistics-server) 65.if !empty(PKG_OPTIONS:Mbind-xml-statistics-server)
65.include "../../textproc/libxml2/buildlink3.mk" 66.include "../../textproc/libxml2/buildlink3.mk"
66CONFIGURE_ARGS+= --with-libxml2 67CONFIGURE_ARGS+= --with-libxml2
67.else 68.else
68CONFIGURE_ARGS+= --without-libxml2 69CONFIGURE_ARGS+= --without-libxml2
69.endif 70.endif
70 71
71### 72###
 73### The statistics server in bind910 and later supports json
 74###
 75.if !empty(PKG_OPTIONS:Mbind-json-statistics-server)
 76.include "../../textproc/json-c/buildlink3.mk"
 77CONFIGURE_ARGS+= --with-libjson
 78.else
 79CONFIGURE_ARGS+= --without-libjson
 80.endif
 81
 82###
72### IPv6 support 83### IPv6 support
73### 84###
74.if !empty(PKG_OPTIONS:Minet6) 85.if !empty(PKG_OPTIONS:Minet6)
75CONFIGURE_ARGS+= --enable-ipv6 86CONFIGURE_ARGS+= --enable-ipv6
76.else 87.else
77CONFIGURE_ARGS+= --disable-ipv6 88CONFIGURE_ARGS+= --disable-ipv6
78.endif 89.endif
79 90
80### 91###
81### pthreads support (also see magic above) 92### pthreads support (also see magic above)
82### 93###
83.if !empty(PKG_OPTIONS:Mthreads) 94.if !empty(PKG_OPTIONS:Mthreads)
84PTHREAD_AUTO_VARS= yes 95PTHREAD_AUTO_VARS= yes