public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH autotools-utils] Use elibtoolize from libtool.eclass to fix libtool magic.
@ 2011-10-09  8:21 Michał Górny
  2011-10-10  2:08 ` Donnie Berkholz
  0 siblings, 1 reply; 5+ messages in thread
From: Michał Górny @ 2011-10-09  8:21 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

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




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-10 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-09  8:21 [gentoo-dev] [PATCH autotools-utils] Use elibtoolize from libtool.eclass to fix libtool magic Michał Górny
2011-10-10  2:08 ` Donnie Berkholz
2011-10-10  7:55   ` Michał Górny
2011-10-10 16:10     ` Donnie Berkholz
2011-10-10 16:38       ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox