2.7.1: Sep 1 2008 * Portability fix: Borland C fix (Moritz Both) * Bug fixes: python serialization wrappers, XPath QName corner case handking and leaks (Martin) * Improvement: extend the xmlSave to handle HTML documents and trees * Cleanup: python serialization wrappers 2.7.0: Aug 30 2008 * Documentation: switch ChangeLog to UTF-8, improve mutithreads and xmlParserCleanup docs * Portability fixes: Older Win32 platforms (Rob Richards), MSVC porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), non GNUCC builds (Rob Richards), compilation on Haiku (Andreas F�rber) * Bug fixes: various realloc problems (Ashwin), potential double-free (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob Richards), pattern fix when streaming (William Brack), various XML parsing and validation fixes based on the W3C regression tests, reader tree skipping function fix (Ashwin), Schemas regexps escaping fix (Volker Grabsch), handling of entity push errors (Ashwin), fix a slowdown when encoder cant serialize characters on output * Code cleanup: compilation fix without the reader, without the output (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups, serious cleanup of the entity handling code * Improvement: switch parser to XML-1.0 5th edition, add parsing flags for old versions, switch URI parsing to RFC 3986, add xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer), new hashing functions for dictionnaries (based on Stefan Behnel work), improve handling of misplaced html/head/body in HTML parser, better regression test tools and code coverage display, better algorithms to detect various versions of the billion laughts attacks, make arbitrary parser limits avoidable as a parser option
62 lines
1.8 KiB
Makefile
62 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.94 2008/09/06 14:58:34 wiz Exp $
|
|
|
|
DISTNAME= libxml2-2.7.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
|
|
http://xmlsoft.org/sources/
|
|
#MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/}
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
HOMEPAGE= http://xmlsoft.org/
|
|
COMMENT= XML parser library from the GNOME project
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_FEATURES= glob
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE= libxml-2.0.pc.in
|
|
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
|
|
# 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"
|
|
|
|
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
|
USE_TOOLS+= perl
|
|
TEST_TARGET= check
|
|
.endif
|
|
|
|
SUBST_CLASSES+= cat
|
|
SUBST_STAGE.cat= pre-configure
|
|
SUBST_FILES.cat= catalog.c xmlcatalog.c
|
|
SUBST_SED.cat= -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g"
|
|
SUBST_SED.cat+= -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|