diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-03-01 18:48:02 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-03-01 18:48:02 +0000 |
commit | cf4529821443a93073cc6ccef57e826feef998a4 (patch) | |
tree | f417836a90e70f08c4bfa0c52c1aeac26c80d350 /eclass/libtool.eclass | |
parent | Check for X in libsdl only when not built for a dedicated server; bug #168859. (diff) | |
download | gentoo-2-cf4529821443a93073cc6ccef57e826feef998a4.tar.gz gentoo-2-cf4529821443a93073cc6ccef57e826feef998a4.tar.bz2 gentoo-2-cf4529821443a93073cc6ccef57e826feef998a4.zip |
Avoid QA warnings about ppc-macos not in USE by using CHOST like fbsd
does.
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 2b5eec44e2e5..c016322024d0 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.73 2006/06/04 13:25:56 exg Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.74 2007/03/01 18:48:02 grobian Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -180,7 +180,8 @@ elibtoolize() { [[ ${CHOST} == *"-freebsd"* ]] && \ elt_patches="${elt_patches} fbsd-conf fbsd-ltconf" - useq ppc-macos && elt_patches="${elt_patches} darwin-ltconf darwin-ltmain" + [[ ${CHOST} == *"-darwin"* ]] && \ + elt_patches="${elt_patches} darwin-ltconf darwin-ltmain" for x in ${my_dirlist} ; do local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||") @@ -326,7 +327,7 @@ elibtoolize() { fi ;; "darwin-"*) - useq ppc-macos && \ + [[ ${CHOST} == *"-darwin"* ]] && \ ewarn " Darwin patch set '${y}' failed to apply!" ;; esac |