summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2012-03-25 08:21:29 +0000
committerPeter Volkov <pva@gentoo.org>2012-03-25 08:21:29 +0000
commite705ed98079c3f0ed2497dec846a7c265318fed0 (patch)
tree946cad54e23c5cb97a6dce4d7909e27b3ff6a3e5 /dev-libs/xmlrpc-c
parentRemove old. (diff)
downloadhistorical-e705ed98079c3f0ed2497dec846a7c265318fed0.tar.gz
historical-e705ed98079c3f0ed2497dec846a7c265318fed0.tar.bz2
historical-e705ed98079c3f0ed2497dec846a7c265318fed0.zip
Version bump. Drop old. Drop optional libwww support, bug 409549 by Pacho Ramos. Thank slepnoga for this work.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog11
-rw-r--r--dev-libs/xmlrpc-c/Manifest21
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild81
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild93
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.28.03-r1.ebuild (renamed from dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild)21
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild93
6 files changed, 127 insertions, 193 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index 25db50f14b2d..f5cf04cff082 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.112 2012/03/03 14:48:30 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.113 2012/03/25 08:21:29 pva Exp $
+
+*xmlrpc-c-1.29.02 (25 Mar 2012)
+*xmlrpc-c-1.28.03-r1 (25 Mar 2012)
+
+ 25 Mar 2012; Peter Volkov <pva@gentoo.org> -xmlrpc-c-1.06.27.ebuild,
+ -xmlrpc-c-1.18.02.ebuild, -xmlrpc-c-1.28.00.ebuild,
+ +xmlrpc-c-1.28.03-r1.ebuild, +xmlrpc-c-1.29.02.ebuild:
+ Version bump. Drop old. Drop optional libwww support, bug 409549 by Pacho
+ Ramos. Thank slepnoga for this work.
03 Mar 2012; Brent Baude <ranger@gentoo.org> xmlrpc-c-1.28.03.ebuild:
Marking xmlrpc-c-1.28.03 ppc64 for bug 393267
diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest
index 9427c4f49bbb..c583a13ce4fd 100644
--- a/dev-libs/xmlrpc-c/Manifest
+++ b/dev-libs/xmlrpc-c/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX xmlrpc-c-1.05-pic.patch 566 RMD160 2e64750d04cdb3a9ad9f95e753e6dd46d4cd650c SHA1 5b266ed0600aa32c5f461df402038ffee1dac87c SHA256 b27f31ef0098ff83518be25131b1ddb72a3290c45636219a58cbf7dcd5ff415d
AUX xmlrpc-c-1.06.02-strsol.patch 716 RMD160 c98b5c6d10ae1b11d57ed80515aa2e7855acceb7 SHA1 5540ded87bd50ca0a413c0b4bbf5faa630754d32 SHA256 2ffd9c6cf54a1bb8664b0d0aeb36985efd40d65ccf71f697ad0f6efb845adedd
AUX xmlrpc-c-1.06.02-threadupdatestatus.patch 465 RMD160 e8e8cdeb31d0afad547dd8abab3533e9f54114ba SHA1 b209a5d55c3e587eabe220503c8818b17731fc78 SHA256 64fac915d4bdab37ebf04fece7066213a96d09651d4e088c90f08e9fd364a985
@@ -15,13 +18,17 @@ AUX xmlrpc-c-1.18.02/dump-symlinks.patch 19339 RMD160 1ed2bb4cddabb6ddabd3b8c15b
AUX xmlrpc-c-1.18.02/dumpvalue.patch 520 RMD160 63947d91c5498bd603db30cc7efa85440eefbe46 SHA1 343d0ead6deada7eba40ebf832fe2f21222e1cac SHA256 a53f6b2fb44db2775e704bacee04fbcf8b2d2ab6eea27407e2de44213f933404
AUX xmlrpc-c-1.28.00-advanced-test.patch 1712 RMD160 194616f934f29e33587451221927ea8dde76175b SHA1 5b86915154a881607b7f67bb74b016d71e8b501d SHA256 ccff39eb7afa62da912a0454b2300c52d41c2de358e8925949c4e8247d8ac768
AUX xmlrpc-c-gcc43.patch 3386 RMD160 7260a649337849caa2784f0ecdbe9a64e31215a7 SHA1 a90b4ba1ad7ba793dce640f62c15cdb46ee5d36f SHA256 d34c3c5e7b7fbcba19a1abdb1afafdeaebb32fff7300981027c6ed247eb80092
-DIST xmlrpc-1.06.27.tgz 699510 RMD160 65803ad240331182ecdddf442c0da80669ae3292 SHA1 7dc857eb411b2acf04a127ee5623e0961633bfac SHA256 04e81ec9f4b0e586be41ccffd402f42b6c268ec2fc7875d44fcbb4ba7a660378
-DIST xmlrpc-c-1.18.02.tar.bz2 552233 RMD160 efe2f03ae37512636d33c7d285c46d9050e9296b SHA1 b815899dff10d245b31257f434230f8e45f2446a SHA256 b59845ebbad959f86a349873fda75af02a69105a4e5c6a7eb40225358677411a
-DIST xmlrpc-c-1.28.00.tar.gz 751660 RMD160 1da3fec6be783da66c77a8156e8a92e939e980d1 SHA1 5d005f661a4e516fa2b155cab39ea2b29671c41f SHA256 52c0e913f87de14ff46cc56d4df4db07d2e51627515b819ea8b795c3d8f71742
DIST xmlrpc-c-1.28.03.tar.gz 751969 RMD160 b9393588bacdbe2c37998f9f041218c5a9ab1cbe SHA1 824cfac0cfe9496ab327897a2f8759736ec2b33d SHA256 6bc078a7fa7ea41bce40df490b0a670f9014678566acef3cd1ea0ce605fee422
-EBUILD xmlrpc-c-1.06.27.ebuild 2260 RMD160 d9f88caa84597ac08e40b7720ad20de8c2cc1839 SHA1 9eae88dfa3d3a28e52df3b3ababb277d382a08e5 SHA256 2e2e2cc0d557fb3bbd4240e3fcce1b742347b4a90b2e6e68950b60099348d402
-EBUILD xmlrpc-c-1.18.02.ebuild 2211 RMD160 fa2902c60ea1ab80b429d8817fbf34490cff1c3f SHA1 e1118cb342fd8606eaaef0a3b5a5f7ab41b6ff6e SHA256 db6e29daabeda78c93f071e9bca5380f2f094b5d59ee7abe6d62a34650eb46e4
-EBUILD xmlrpc-c-1.28.00.ebuild 2840 RMD160 eff9211f99cee1ba002a73a8a0635607457692e1 SHA1 3117b5b79016bd62d1db08a7a5c7b6715883e267 SHA256 8e31f9ef1e57dfc8148e9db235ffac86836ecd813997581df45f767bda1f16b3
+DIST xmlrpc-c-1.29.02.tar.gz 754030 RMD160 d0863ba2464826b0bb9df29b65dcdf79ae3f0479 SHA1 558be8eef7a346cd66df72e403790fc1d38b63aa SHA256 dd4933b55de8ca9ee752337831ff8e710b58c585e5d46185b59c420099478c48
+EBUILD xmlrpc-c-1.28.03-r1.ebuild 2769 RMD160 875e587000a8e0709add47e2cd7e8375cfc603c8 SHA1 60d254f5777de94b5007f4f8fb635ddcecc55962 SHA256 9f76477cf6e9958d943b422edfc6f07a58fe8be251c37bcb9127813cbfc06a51
EBUILD xmlrpc-c-1.28.03.ebuild 2785 RMD160 50be79d9a62e836f4d0d36d7deb62a9ed1d196b8 SHA1 592d26213e588a09fe28ae768ba6f1adfb19153f SHA256 d4ea572d9d21d04c398151099fba70a71a3146e9068828354c74e3468d7911bc
-MISC ChangeLog 17810 RMD160 6d70a210571c3558d21a7161c23540bea86edec6 SHA1 344daa2bcb3b2aedd3173097afcd54c574c91c72 SHA256 bc170e324ed39239b1e8603d904961810bdd5eed1e19979838406ebee48e5609
+EBUILD xmlrpc-c-1.29.02.ebuild 2766 RMD160 3407396e93ec0435de9fe62dc5c4af8758689bff SHA1 ea3071d3a830e1a4ce1291ecbbe6a2f4019efdaf SHA256 2ecdb63401ab14923ab386eda2715ac5dcd326ed59f95127d62b8edc120a8b60
+MISC ChangeLog 18173 RMD160 28a530bf943061025055c4b70b04a05264f2c3ea SHA1 5430c9196fbf050a7e7205d6936804660f6f6fbb SHA256 f9721b66cd4b2ea0b06d54379f32a2f2df6befe0533c90db1a449ba7e6a08639
MISC metadata.xml 683 RMD160 e7c67dc1aad92beb9b1a5071dd8225fa570f4f2d SHA1 439b8a1b770b86dd5ebd6f6f50278f8d32a4b6d6 SHA256 b3dfb3f83584cb43b1ad6ec2f1b9ce147bcda49da27e2fc3309646e01154c919
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk9u1TYACgkQGrk+8vGYmwc9SQD/aN40aQLYYWaxaVLM6RrX07kD
+sl6mnx7Kx7Lrs6puAyIBAKS62BP1DYsRoYH/Q586GBvZdOQeMxN2fB0kd1hfoON7
+=AyEl
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild
deleted file mode 100644
index 87490d6eecc1..000000000000
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild,v 1.11 2011/07/25 10:21:06 angelos Exp $
-
-EAPI=1
-
-inherit eutils
-
-DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
-SRC_URI="mirror://sourceforge/${PN}/${P/-c}.tgz"
-HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="+curl threads"
-LICENSE="BSD"
-SLOT="0"
-
-DEPEND="dev-libs/libxml2
- curl? ( net-misc/curl )"
-
-pkg_setup() {
- if ! use curl
- then
- ewarn "Curl support disabled: No client library will be be built"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-curl-easy-setopt.patch
- epatch "${FILESDIR}"/${P}-abyss-header-fixup.patch
-
- #CPP test suite doesn't pass, but if we were to get it to pass,
- #this is needed to get it to build.
- epatch "${FILESDIR}"/${P}-gcc43-test-fix.patch
- epatch "${FILESDIR}"/${PN}-1.06.09-asneeded.patch
- epatch "${FILESDIR}"/${PN}-1.05-pic.patch
- epatch "${FILESDIR}"/${P}-curl-headers.patch
-
- # Respect the user's CFLAGS/CXXFLAGS.
- sed -i -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" Makefile.common
- sed -i -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" Makefile.common
-}
-
-src_compile() {
- #Bug 214137: We need to filter this.
- unset SRCDIR
-
- # Respect the user's LDFLAGS.
- export LADD=${LDFLAGS}
- econf --disable-wininet-client --enable-libxml2-backend --disable-libwww-client \
- $(use_enable threads abyss-threads) \
- $(use_enable curl curl-client) || die "econf failed"
- emake -j1 || die "emake failed"
-}
-
-src_test() {
- unset SRCDIR
- unset LDFLAGS LADD
- cd "${S}"/src/test/
- einfo "Building general tests"
- make || die "Make of general tests failed"
- einfo "Running general tests"
- ./test || die "General tests failed"
-
- #C++ tests. They fail.
- #cd "${S}"/src/cpp/test
- #einfo "Building C++ tests"
- #make || die "Make of C++ tests failed"
- #einfo "Running C++ tests"
- #./test || die "C++ tests failed"
-}
-
-src_install() {
- unset SRCDIR
- emake -j1 DESTDIR="${D}" install || die "installation failed"
-
- dodoc README doc/CREDITS doc/DEVELOPING doc/HISTORY doc/SECURITY doc/TESTING \
- doc/TODO || die "installing docs failed"
-}
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
deleted file mode 100644
index 4156ac2bbe85..000000000000
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.18 2011/07/25 10:21:06 angelos Exp $
-
-EAPI=2
-
-inherit eutils multilib base
-
-DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
-SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
-HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="+curl +cxx tools +cgi abyss threads"
-LICENSE="BSD"
-SLOT="0"
-
-DEPEND="dev-libs/libxml2
- tools? ( dev-perl/frontier-rpc )
- curl? ( net-misc/curl )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if ! use curl
- then
- ewarn "Curl support disabled: No client library will be be built"
- fi
-}
-
-#Bug 214137: We need to filter this.
-unset SRCDIR
-
-# Bug 255440
-export LC_ALL=C
-export LANG=C
-
-PATCHES=(
- "${FILESDIR}/${P}/dumpvalue.patch"
- "${FILESDIR}/${P}/cpp-depends.patch"
- "${FILESDIR}/${P}/dump-symlinks.patch"
- "${FILESDIR}/${P}/curl-headers.patch"
- )
-
-src_prepare() {
- base_src_prepare
-
- # Respect the user's CFLAGS/CXXFLAGS.
- sed -i \
- -e "/CFLAGS_COMMON/s|-g -O3$|${CFLAGS}|" \
- -e "/CXXFLAGS_COMMON/s|-g$|${CXXFLAGS}|" \
- "${S}"/common.mk || die "404. File not found while sedding"
-}
-
-src_configure() {
- # Respect the user's LDFLAGS.
- export LADD=${LDFLAGS}
- econf --disable-wininet-client \
- --disable-libwww-client \
- --enable-libxml2-backend \
- $(use_enable tools) \
- $(use_enable threads abyss-threads) \
- $(use_enable cgi cgi-server) \
- $(use_enable abyss abyss-server) \
- $(use_enable cxx cplusplus) \
- $(use_enable curl curl-client)
-}
-
-src_compile() {
- emake -r || die "Compiling failed"
-}
-
-src_test() {
- if use abyss && use curl
- then
- unset LDFLAGS LADD SRCDIR
- cd "${S}"/src/test/
- einfo "Building general tests"
- make || die "Make of general tests failed"
- einfo "Running general tests"
- ./test || die "General tests failed"
-
- if use cxx
- then
- cd "${S}"/src/cpp/test
- einfo "Building C++ tests"
- make || die "Make of C++ tests failed"
- einfo "Running C++ tests"
- ./test || die "C++ tests failed"
- fi
- else
- elog "${CATEGORY}/${PN} tests will fail unless USE='abyss curl' is set."
- fi
-}
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03-r1.ebuild
index e1d159408097..bd5aa16422f4 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild,v 1.2 2011/12/12 15:43:41 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03-r1.ebuild,v 1.1 2012/03/25 08:21:29 pva Exp $
EAPI="4"
@@ -11,7 +11,7 @@ inherit eutils multilib
# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
# e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
-# Note: autogenerated tarball checksum will change everytime, thus download it
+# Note: autogenerated tarball checksum changes every download, thus download it
# manually and distribute on mirrors.
# It's possible to build net-libs/libwww without ssl support, but taking into
# account that libwww is not really well maintained and upstream is dead we
@@ -23,8 +23,8 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="abyss +cgi +curl +cxx +libxml2 libwww static-libs threads tools"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads tools"
REQUIRED_USE="test? ( static-libs abyss curl cxx )"
@@ -32,15 +32,13 @@ DEPEND="
tools? ( dev-perl/frontier-rpc
sys-libs/readline )
curl? ( net-misc/curl )
- libwww? ( net-libs/libwww[ssl] )
libxml2? ( dev-libs/libxml2 )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/advanced"
pkg_setup() {
- use curl || use libwww || \
- ewarn "Curl support disabled: No client library will be be built"
+ use curl || ewarn "Curl support disabled: No client library will be be built"
}
#Bug 214137: We need to filter this.
@@ -51,7 +49,6 @@ export LC_ALL=C
export LANG=C
src_prepare() {
- epatch "${FILESDIR}/xmlrpc-c-1.28.00-advanced-test.patch"
sed -i \
-e "/CFLAGS_COMMON/s|-g -O3$||" \
-e "/CXXFLAGS_COMMON/s|-g$||" \
@@ -65,10 +62,12 @@ src_prepare() {
}
src_configure() {
+ #Disable libwww support due GBZ #409549 and #320253
+
econf --disable-wininet-client \
$(use_enable libxml2 libxml2-backend) \
- $(use_enable libwww libwww-client) \
- $(use_enable libwww libwww-ssl) \
+ --disable-libwww-client \
+ --disable-libwww-ssl \
$(use_enable tools) \
$(use_enable threads abyss-threads) \
$(use_enable cgi cgi-server) \
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild
new file mode 100644
index 000000000000..1b61e6f070ed
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild,v 1.1 2012/03/25 08:21:29 pva Exp $
+
+EAPI="4"
+
+inherit eutils multilib
+
+# Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
+# We use "advanced" branch, so for the current release revision take look here:
+# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
+# e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
+# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
+# Note: autogenerated tarball checksum changes every download, thus download it
+# manually and distribute on mirrors.
+# It's possible to build net-libs/libwww without ssl support, but taking into
+# account that libwww is not really well maintained and upstream is dead we
+# better use it only in case ssl is required.
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads tools"
+
+REQUIRED_USE="test? ( static-libs abyss curl cxx )"
+
+DEPEND="
+ tools? ( dev-perl/frontier-rpc
+ sys-libs/readline )
+ curl? ( net-misc/curl )
+ libxml2? ( dev-libs/libxml2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/advanced"
+
+pkg_setup() {
+ use curl || ewarn "Curl support disabled: No client library will be be built"
+}
+
+#Bug 214137: We need to filter this.
+unset SRCDIR
+
+# Bug 255440
+export LC_ALL=C
+export LANG=C
+
+src_prepare() {
+ sed -i \
+ -e "/CFLAGS_COMMON/s|-g -O3$||" \
+ -e "/CXXFLAGS_COMMON/s|-g$||" \
+ "${S}"/common.mk || die
+
+ export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
+
+ use static-libs || { sed \
+ -e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
+ -i common.mk || die; }
+}
+
+src_configure() {
+ #Disable libwww support due GBZ #409549 and #320253
+
+ econf --disable-wininet-client \
+ $(use_enable libxml2 libxml2-backend) \
+ --disable-libwww-client \
+ --disable-libwww-ssl \
+ $(use_enable tools) \
+ $(use_enable threads abyss-threads) \
+ $(use_enable cgi cgi-server) \
+ $(use_enable abyss abyss-server) \
+ $(use_enable cxx cplusplus) \
+ $(use_enable curl curl-client)
+}
+
+src_compile() {
+ emake -r
+}
+
+src_test() {
+ unset LDFLAGS LADD SRCDIR
+ cd "${S}"/test/
+ einfo "Building general tests"
+ make || die "Make of general tests failed"
+ einfo "Running general tests"
+ ./test || die "General tests failed"
+ cd "${S}"/test/cpp/
+ einfo "Running C++ tests"
+ ./test || die "C++ tests failed"
+}