1 |
commit: 789a73fdae3a3479882891bafa04190786a22fbe |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 15:06:09 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 17:35:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789a73fd |
7 |
|
8 |
dev-libs/libcxml: Activate tests, discard bundled waf buildsystem. |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-libs/libcxml/libcxml-0.15.1.ebuild | 15 ++++++++++++++- |
13 |
dev-libs/libcxml/libcxml-0.15.4.ebuild | 15 ++++++++++++++- |
14 |
2 files changed, 28 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libcxml/libcxml-0.15.1.ebuild b/dev-libs/libcxml/libcxml-0.15.1.ebuild |
17 |
index e026d6e5630..b61caadfceb 100644 |
18 |
--- a/dev-libs/libcxml/libcxml-0.15.1.ebuild |
19 |
+++ b/dev-libs/libcxml/libcxml-0.15.1.ebuild |
20 |
@@ -18,6 +18,19 @@ IUSE="" |
21 |
|
22 |
RDEPEND="dev-cpp/libxmlpp:2.6 |
23 |
dev-libs/boost" |
24 |
-DEPEND="${RDEPEND}" |
25 |
+DEPEND="${RDEPEND} |
26 |
+ dev-util/waf |
27 |
+ virtual/pkgconfig" |
28 |
|
29 |
PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) |
30 |
+ |
31 |
+src_prepare() { |
32 |
+ rm -v waf || die |
33 |
+ export WAF_BINARY="${EROOT}usr/bin/waf" |
34 |
+ |
35 |
+ default |
36 |
+} |
37 |
+ |
38 |
+src_test() { |
39 |
+ ./run-tests.sh || die |
40 |
+} |
41 |
|
42 |
diff --git a/dev-libs/libcxml/libcxml-0.15.4.ebuild b/dev-libs/libcxml/libcxml-0.15.4.ebuild |
43 |
index e026d6e5630..b61caadfceb 100644 |
44 |
--- a/dev-libs/libcxml/libcxml-0.15.4.ebuild |
45 |
+++ b/dev-libs/libcxml/libcxml-0.15.4.ebuild |
46 |
@@ -18,6 +18,19 @@ IUSE="" |
47 |
|
48 |
RDEPEND="dev-cpp/libxmlpp:2.6 |
49 |
dev-libs/boost" |
50 |
-DEPEND="${RDEPEND}" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-util/waf |
53 |
+ virtual/pkgconfig" |
54 |
|
55 |
PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ rm -v waf || die |
59 |
+ export WAF_BINARY="${EROOT}usr/bin/waf" |
60 |
+ |
61 |
+ default |
62 |
+} |
63 |
+ |
64 |
+src_test() { |
65 |
+ ./run-tests.sh || die |
66 |
+} |