We're calling it with '--patch-only' to avoid heavy changes to ebuilds.
This should handle gracefully eautoreconfed packages and those not using
libtool as well (in worst case, it should try to apply patches twice).
---
autotools-utils.eclass | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/autotools-utils.eclass b/autotools-utils.eclass
index bae95a1..b9655c8 100644
--- a/autotools-utils.eclass
+++ b/autotools-utils.eclass
@@ -89,7 +89,7 @@ case ${EAPI:-0} in
*) die "EAPI=${EAPI} is not supported" ;;
esac
-inherit autotools base eutils
+inherit autotools base eutils libtool
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test
@@ -212,6 +212,7 @@ autotools-utils_src_prepare() {
debug-print-function ${FUNCNAME} "$@"
base_src_prepare
+ elibtoolize --patch-only
}
# @FUNCTION: autotools-utils_src_configure
--
1.7.7