diff options
author | drochner <drochner@pkgsrc.org> | 2007-10-31 20:14:45 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-10-31 20:14:45 +0000 |
commit | ddc357b846e51f5bcc22cfc3050efd80814ca2f3 (patch) | |
tree | a49fc48b80b37a4bc70f5ec3b8d98707e349f710 /textproc/libxml2 | |
parent | d668799847216775baee8d0c05a7d687bbf97836 (diff) | |
download | pkgsrc-ddc357b846e51f5bcc22cfc3050efd80814ca2f3.tar.gz |
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 (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 09562e7161b..ef6026a6b6f 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -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-iconv=${BUILDLINK_PREFIX.iconv} 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 |