pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/libxml2 Split off options.mk file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93f078f93fe9
branches:  trunk
changeset: 548161:93f078f93fe9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 09 19:20:36 2008 +0000

description:
Split off options.mk file.
Remove ancient workaround for sparc64/1.6 problem.

diffstat:

 textproc/libxml2/Makefile   |  15 ++-------------
 textproc/libxml2/options.mk |  12 ++++++++++++
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs (50 lines):

diff -r 4e427c42a448 -r 93f078f93fe9 textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Thu Oct 09 19:01:57 2008 +0000
+++ b/textproc/libxml2/Makefile Thu Oct 09 19:20:36 2008 +0000
@@ -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-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 -r 4e427c42a448 -r 93f078f93fe9 textproc/libxml2/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libxml2/options.mk       Thu Oct 09 19:20:36 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index