From 789a73fdae3a3479882891bafa04190786a22fbe Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Thu, 2 Mar 2017 16:06:09 +0100 Subject: [PATCH] dev-libs/libcxml: Activate tests, discard bundled waf buildsystem. Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- dev-libs/libcxml/libcxml-0.15.1.ebuild | 15 ++++++++++++++- dev-libs/libcxml/libcxml-0.15.4.ebuild | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) 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 +} -- 2.26.2