dev-libs/libcxml: Activate tests, discard bundled waf buildsystem.
authorMichael Weber <xmw@gentoo.org>
Thu, 2 Mar 2017 15:06:09 +0000 (16:06 +0100)
committerMichael Weber <xmw@gentoo.org>
Thu, 2 Mar 2017 17:35:40 +0000 (18:35 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

dev-libs/libcxml/libcxml-0.15.1.ebuild
dev-libs/libcxml/libcxml-0.15.4.ebuild

index e026d6e563078795a31b7139139dd9920f88b693..b61caadfceb53f8a5bc03bf8978eeb0406dda67b 100644 (file)
@@ -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
+}
index e026d6e563078795a31b7139139dd9920f88b693..b61caadfceb53f8a5bc03bf8978eeb0406dda67b 100644 (file)
@@ -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
+}