summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-30 12:29:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-30 12:29:23 +0000
commitf915f4b71d93f8699663b93eb88ce1424629e0da (patch)
tree88bc8e3a002c05da7fe3abe374c3241f0aa93f6b /eclass
parentAdded correct description (diff)
downloadgentoo-2-f915f4b71d93f8699663b93eb88ce1424629e0da.tar.gz
gentoo-2-f915f4b71d93f8699663b93eb88ce1424629e0da.tar.bz2
gentoo-2-f915f4b71d93f8699663b93eb88ce1424629e0da.zip
Check also for configure in the previous directory when using aux directory for libtool files.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/libtool.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 523882239c7e..8e659357b943 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.64 2006/02/03 22:20:25 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.65 2006/03/30 12:29:23 flameeyes Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -333,7 +333,8 @@ elibtoolize() {
;;
"fbsd-"*)
if [[ ${CHOST} == *"-freebsd"* ]] ; then
- if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' "${x}/configure") ]]; then
+ if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' \
+ "${x}/configure" "${x}/../configure" 2>/dev/null) ]]; then
eerror " FreeBSD patch set '${y}' failed to apply!"
die "FreeBSD patch set '${y}' failed to apply!"
fi