From: Michael Weber Date: Thu, 2 Mar 2017 15:06:09 +0000 (+0100) Subject: dev-libs/libcxml: Activate tests, discard bundled waf buildsystem. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=789a73fdae3a3479882891bafa04190786a22fbe;p=gentoo.git dev-libs/libcxml: Activate tests, discard bundled waf buildsystem. Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/dev-libs/libcxml/libcxml-0.15.1.ebuild b/dev-libs/libcxml/libcxml-0.15.1.ebuild index e026d6e56307..b61caadfceb5 100644 --- a/dev-libs/libcxml/libcxml-0.15.1.ebuild +++ b/dev-libs/libcxml/libcxml-0.15.1.ebuild @@ -18,6 +18,19 @@ IUSE="" RDEPEND="dev-cpp/libxmlpp:2.6 dev-libs/boost" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + dev-util/waf + virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) + +src_prepare() { + rm -v waf || die + export WAF_BINARY="${EROOT}usr/bin/waf" + + default +} + +src_test() { + ./run-tests.sh || die +} diff --git a/dev-libs/libcxml/libcxml-0.15.4.ebuild b/dev-libs/libcxml/libcxml-0.15.4.ebuild index e026d6e56307..b61caadfceb5 100644 --- a/dev-libs/libcxml/libcxml-0.15.4.ebuild +++ b/dev-libs/libcxml/libcxml-0.15.4.ebuild @@ -18,6 +18,19 @@ IUSE="" RDEPEND="dev-cpp/libxmlpp:2.6 dev-libs/boost" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + dev-util/waf + virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) + +src_prepare() { + rm -v waf || die + export WAF_BINARY="${EROOT}usr/bin/waf" + + default +} + +src_test() { + ./run-tests.sh || die +}