pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
net/bind95 optioning xml statistics server
Hi,
I'm updating libxml2 way too often on systems that don't use it, due to
bind95 pulling it in unconditionally. The statistics server will be
interesting to some, but probably not that generally that it warrants
being default-on (I'll live if I have to explicitly switch it off, too).
This:
--- snip ---
RCS file: /cvsroot/pkgsrc/net/bind95/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 3 Aug 2008 18:42:31 -0000 1.3
+++ Makefile 28 Nov 2008 06:26:07 -0000
@@ -75,7 +75,7 @@
.include "../../mk/pthread.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
+.include "options.mk"
.include "../../mk/bsd.pkg.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") || \
--- snip ---
plus an options.mk:
--- snip ---
# $NetBSD: $
PKG_OPTIONS_VAR= PKG_OPTIONS.bind95
PKG_SUPPORTED_OPTIONS= xmlstats
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
# use the statistics server in bind95? It'll need libxml2
.if !empty(PKG_OPTIONS:Mxmlstats)
.include "../../textproc/libxml2/buildlink3.mk"
CONFIGURE_ARGS+=--with-libxml2=yes
.else
CONFIGURE_ARGS+=--with-libxml2=no
.endif
--- snip ---
Makes building that feature in an option.
Comments?
regards,
spz
--
spz%serpens.de@localhost (S.P.Zeidler)
Home |
Main Index |
Thread Index |
Old Index