summaryrefslogtreecommitdiff
path: root/textproc/libxml2
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
parenta520ba5a84d931ae3004419001dc9db8b911e66d (diff)
downloadpkgsrc-dd87b7af6b12231da70b3eecd9020a6a22d3a329.tar.gz
Split off options.mk file.
Remove ancient workaround for sparc64/1.6 problem.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile15
-rw-r--r--textproc/libxml2/options.mk12
2 files changed, 14 insertions, 13 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index 225fe419f1c..51aa54c1dbb 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2008/10/09 15:01:27 tron Exp $
+# $NetBSD: Makefile,v 1.96 2008/10/09 19:20:36 wiz Exp $
DISTNAME= libxml2-2.7.1
PKGREVISION= 1
@@ -24,23 +24,12 @@ 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
+.include "options.mk"
# 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
-# NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
-# needed for this package the following does no harm on other platforms.
-CONFIGURE_ENV+= F77=${FALSE:Q}
-
MAKE_ENV+= PAX=${PAX:Q}
.include "../../mk/bsd.prefs.mk"
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