1 |
We're calling it with '--patch-only' to avoid heavy changes to ebuilds. |
2 |
This should handle gracefully eautoreconfed packages and those not using |
3 |
libtool as well (in worst case, it should try to apply patches twice). |
4 |
--- |
5 |
autotools-utils.eclass | 3 ++- |
6 |
1 files changed, 2 insertions(+), 1 deletions(-) |
7 |
|
8 |
diff --git a/autotools-utils.eclass b/autotools-utils.eclass |
9 |
index bae95a1..b9655c8 100644 |
10 |
--- a/autotools-utils.eclass |
11 |
+++ b/autotools-utils.eclass |
12 |
@@ -89,7 +89,7 @@ case ${EAPI:-0} in |
13 |
*) die "EAPI=${EAPI} is not supported" ;; |
14 |
esac |
15 |
|
16 |
-inherit autotools base eutils |
17 |
+inherit autotools base eutils libtool |
18 |
|
19 |
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test |
20 |
|
21 |
@@ -212,6 +212,7 @@ autotools-utils_src_prepare() { |
22 |
debug-print-function ${FUNCNAME} "$@" |
23 |
|
24 |
base_src_prepare |
25 |
+ elibtoolize --patch-only |
26 |
} |
27 |
|
28 |
# @FUNCTION: autotools-utils_src_configure |
29 |
-- |
30 |
1.7.7 |