summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2007-03-01 18:48:02 +0000
committerFabian Groffen <grobian@gentoo.org>2007-03-01 18:48:02 +0000
commit9f87b94a199dc1fdf3a8bd1a86a491985caf1081 (patch)
tree7a2a46fee040222eab5e5aa4d0540ba9a0b727e2 /eclass/libtool.eclass
parentCheck for X in libsdl only when not built for a dedicated server; bug #168859. (diff)
downloadhistorical-9f87b94a199dc1fdf3a8bd1a86a491985caf1081.tar.gz
historical-9f87b94a199dc1fdf3a8bd1a86a491985caf1081.tar.bz2
historical-9f87b94a199dc1fdf3a8bd1a86a491985caf1081.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.eclass7
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