pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/libxml2 make it obey the inet6 option, from Y...
details: https://anonhg.NetBSD.org/pkgsrc/rev/46f3d1eac9f0
branches: trunk
changeset: 534783:46f3d1eac9f0
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Oct 31 20:14:45 2007 +0000
description:
make it obey the inet6 option, from Yakovetsky Vladimir per PR pkg/37120
(A single trivial option os not worth wasting an inode, so I've
put it into the Makefile.)
diffstat:
textproc/libxml2/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r fd1fc670b389 -r 46f3d1eac9f0 textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Wed Oct 31 20:05:48 2007 +0000
+++ b/textproc/libxml2/Makefile Wed Oct 31 20:14:45 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2007/09/08 21:58:00 jlam Exp $
+# $NetBSD: Makefile,v 1.90 2007/10/31 20:14:45 drochner Exp $
DISTNAME= libxml2-2.6.30
CATEGORIES= textproc
@@ -22,6 +22,15 @@
CONFIGURE_ARGS+= --with-html-subdir=libxml2
CONFIGURE_ARGS+= --without-python
+PKG_OPTIONS_VAR= PKG_OPTIONS.libxml2
+PKG_SUPPORTED_OPTIONS+= inet6
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
# Don't use threads - it's not apparent whether it's necessary or not,
# and this library needs to be usable by non-threaded applications too
CONFIGURE_ARGS+= --without-threads
Home |
Main Index |
Thread Index |
Old Index