From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCocP-0004o5-4t for garchives@archives.gentoo.org; Sun, 09 Oct 2011 08:20:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AA1021C353; Sun, 9 Oct 2011 08:20:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 35BB321C176 for ; Sun, 9 Oct 2011 08:19:26 +0000 (UTC) Received: from localhost.localdomain (77-254-94-0.adsl.inetia.pl [77.254.94.0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id E62BD1B400A; Sun, 9 Oct 2011 08:19:24 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH autotools-utils] Use elibtoolize from libtool.eclass to fix libtool magic. Date: Sun, 9 Oct 2011 10:21:46 +0200 Message-Id: <1318148506-10270-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.7.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: X-Archives-Hash: 7fad5430827d72a1fd45b99a8cbec637 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