--- libxml2-2.7.7.ebuild 2010-08-09 06:11:52.000000000 +0200 +++ libxml2-2.7.7-r1.ebuild 2010-10-16 18:44:01.000000000 +0200 @@ -14,7 +14,7 @@ LICENSE="MIT" SLOT="2" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="debug doc examples ipv6 python readline test" +IUSE="debug doc examples ipv6 python readline test threads" XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" XSTS_NAME_1="xmlschema2002-01-16" @@ -57,6 +57,8 @@ src_prepare() { epunt_cxx + epatch "${FILESDIR}/${P}-fix-weak-symbols.patch" + # Please do not remove, as else we get references to PORTAGE_TMPDIR # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. elibtoolize @@ -81,6 +83,7 @@ $(use_with debug run-debug) $(use_with python) $(use_with readline) + $(use_with threads) $(use_with readline history) $(use_enable ipv6)"