This patch/ new ebuild fix following problems with net-misc/neon ebuild: 1) It adds ~amd64 architecture, (builds and works fine in gentoo amd64) 2) It corrects IUSE field, which is missing zlib 3) It corrects DEPEND field (missing dev-libs/zlib) 3) It adds use expat, which make possible compile neon against expat This is handy with subversion, because subversion will link with apr/apr-utils, which are using expat and neon. So if you compile neon against xml2 then you have two xml-parser dependencies for one software. Reproducible: Always Steps to Reproduce: 1. 2. 3. --- neon-0.24.2.ebuild 2003-09-27 20:54:52.000000000 +0000 +++ neon-0.24.4.ebuild 2003-10-28 23:15:32.579055289 +0000 @@ -6,17 +6,19 @@ DESCRIPTION="HTTP and WebDAV client library" SRC_URI="http://www.webdav.org/${PN}/${P}.tar.gz" HOMEPAGE="http://www.webdav.org/neon" -DEPEND="dev-libs/libxml2 - ssl? ( >=dev-libs/openssl-0.9.6f )" +DEPEND=" expat? ( dev-libs/expat ) : ( dev-libs/libxml2 ) + ssl? ( >=dev-libs/openssl-0.9.6f ) + zlib? ( sys-libs/zlib )" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="ssl" +KEYWORDS="~x86 ~amd64" +IUSE="ssl zlib expat" src_compile() { local myc='--enable-shared' - use ssl && myc="$myc --with-ssl" + use ssl && myc="$myc --with-ssl" || myc="$myc --without-ssl" + use expat && myc="$myc --with-expat" || myc="$myc --with-libxml2" use zlib && myc="$myc --with-zlib" || myc="$myc --without-zlib" econf $myc
Created attachment 19910 [details] actual net-misc/neon-0.24.4.ebuild I have tested this with following use flag combinations: USE='-ssl expat' USE='zlib ssl expat' USE='' USE='zlib ssl'
*** Bug 35538 has been marked as a duplicate of this bug. ***
I've added 0.24.4 with most features from the patch