From 9f87b94a199dc1fdf3a8bd1a86a491985caf1081 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 1 Mar 2007 18:48:02 +0000 Subject: [PATCH] Avoid QA warnings about ppc-macos not in USE by using CHOST like fbsd does. --- eclass/libtool.eclass | 7 ++++--- 1 file 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 # @@ -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 -- 2.26.2