diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2006-02-03 22:20:25 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2006-02-03 22:20:25 +0000 |
commit | 7c830fa989b881dc06d481c7a2ca488a9bb2d831 (patch) | |
tree | 27041d06a9428f6817c65788a55f3ebc787afde0 /eclass/libtool.eclass | |
parent | Mark 2.12.1 stable on ia64 (diff) | |
download | historical-7c830fa989b881dc06d481c7a2ca488a9bb2d831.tar.gz historical-7c830fa989b881dc06d481c7a2ca488a9bb2d831.tar.bz2 historical-7c830fa989b881dc06d481c7a2ca488a9bb2d831.zip |
Do not apply the portage patch if already applied.
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index cf4d776bf342..523882239c7e 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.63 2006/01/22 00:24:15 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.64 2006/02/03 22:20:25 azarah Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -217,6 +217,13 @@ elibtoolize() { local ret=0 case "${y}" in + "portage") + # Stupid test to see if its already applied ... + if [[ -z $(grep 'We do not want portage' "${x}/ltmain.sh") ]] ; then + ELT_walk_patches "${x}/ltmain.sh" "${y}" + ret=$? + fi + ;; "rem-int-dep") ELT_walk_patches "${x}/ltmain.sh" "${y}" "${deptoremove}" ret=$? |