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 | 965e0b5dd8d74222422fb9746e697daa50c39e90 (patch) | |
tree | b95857f74b74bf7cc813e14b0578f997cfd794ee /eclass | |
parent | Mark 2.12.1 stable on ia64 (diff) | |
download | gentoo-2-965e0b5dd8d74222422fb9746e697daa50c39e90.tar.gz gentoo-2-965e0b5dd8d74222422fb9746e697daa50c39e90.tar.bz2 gentoo-2-965e0b5dd8d74222422fb9746e697daa50c39e90.zip |
Do not apply the portage patch if already applied.
Diffstat (limited to '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=$? |