diff options
author | wiz <wiz> | 2008-10-09 19:20:36 +0000 |
---|---|---|
committer | wiz <wiz> | 2008-10-09 19:20:36 +0000 |
commit | c12531ec5e958a094688537b0965f37bd0771c35 (patch) | |
tree | 8362f835d9edea5402999e0bf23e118364020fc1 /textproc | |
parent | b88d84f9b0ddc30ae3a92440de6270a4e2fd46c4 (diff) | |
download | pkgsrc-c12531ec5e958a094688537b0965f37bd0771c35.tar.gz |
Split off options.mk file.
Remove ancient workaround for sparc64/1.6 problem.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxml2/Makefile | 15 | ||||
-rw-r--r-- | textproc/libxml2/options.mk | 12 |
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 |