summaryrefslogtreecommitdiff
path: root/textproc/libxml2/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-10-09 19:20:36 +0000
committerwiz <wiz@pkgsrc.org>2008-10-09 19:20:36 +0000
commitdd87b7af6b12231da70b3eecd9020a6a22d3a329 (patch)
tree8362f835d9edea5402999e0bf23e118364020fc1 /textproc/libxml2/options.mk
parenta520ba5a84d931ae3004419001dc9db8b911e66d (diff)
downloadpkgsrc-dd87b7af6b12231da70b3eecd9020a6a22d3a329.tar.gz
Split off options.mk file.
Remove ancient workaround for sparc64/1.6 problem.
Diffstat (limited to 'textproc/libxml2/options.mk')
-rw-r--r--textproc/libxml2/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libxml2/options.mk b/textproc/libxml2/options.mk
new file mode 100644
index 00000000000..8276927cdff
--- /dev/null
+++ b/textproc/libxml2/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2008/10/09 19:20:36 wiz Exp $
+
+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