From 7b4f0cf7c1dfcbd487f0089a3922269d16ac2878 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 6 Jun 2012 15:43:45 +0000 Subject: Start using prune_libtool_files() from eutils, deprecate remove_libtool_files(). --- eclass/autotools-utils.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'eclass/autotools-utils.eclass') diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index e5458c8cc088..ea9eb36211b7 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.53 2012/05/28 07:46:59 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.54 2012/06/06 15:43:45 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -204,6 +204,10 @@ _check_build_dir() { remove_libtool_files() { debug-print-function ${FUNCNAME} "$@" local removing_all + + eqawarn "The remove_libtool_files() function was deprecated." + eqawarn "Please use prune_libtool_files() from eutils eclass instead." + [[ ${#} -le 1 ]] || die "Invalid number of args to ${FUNCNAME}()" if [[ ${#} -eq 1 ]]; then case "${1}" in @@ -472,7 +476,7 @@ autotools-utils_src_install() { fi # Remove libtool files and unnecessary static libs - remove_libtool_files + prune_libtool_files } # @FUNCTION: autotools-utils_src_test -- cgit v1.2.3-65-gdbad