From 18ee83cf318919aa6e306c1182aed9d5ef72a2e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 14 Oct 2011 20:28:29 +0000 Subject: [PATCH] Use elibtoolize from libtool.eclass to fix libtool magic. 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). --- eclass/autotools-utils.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index bae95a1ae592..bf9c9ac97b21 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.24 2011/09/23 07:56:41 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.25 2011/10/14 20:28:29 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -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 -- 2.26.2