summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-06-06 15:43:45 +0000
committerMichał Górny <mgorny@gentoo.org>2012-06-06 15:43:45 +0000
commit7b4f0cf7c1dfcbd487f0089a3922269d16ac2878 (patch)
treedb955c3d013727ec7814ca7ffd61ee8643a48b29 /eclass
parentRemove dependency on <libpcre-8.30 (diff)
downloadgentoo-2-7b4f0cf7c1dfcbd487f0089a3922269d16ac2878.tar.gz
gentoo-2-7b4f0cf7c1dfcbd487f0089a3922269d16ac2878.tar.bz2
gentoo-2-7b4f0cf7c1dfcbd487f0089a3922269d16ac2878.zip
Start using prune_libtool_files() from eutils, deprecate remove_libtool_files().
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/autotools-utils.eclass8
2 files changed, 11 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 180ca73bd41d..c11904f531fb 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.291 2012/06/06 15:37:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.292 2012/06/06 15:43:45 mgorny Exp $
+
+ 06 Jun 2012; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
+ Start using prune_libtool_files() from eutils, deprecate
+ remove_libtool_files().
06 Jun 2012; Michał Górny <mgorny@gentoo.org> eutils.eclass:
Introduce prune_libtool_files() for .la file removal. Based on one used
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