summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-25 06:37:30 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-25 06:37:30 +0000
commitaaf815754a08937e3665dc74529858e92c4ecdcd (patch)
tree48aeff634bd72e5699a9fc95bae6bcee62ec4d18 /eclass/libtool.eclass
parentforgot to add the extra search param in uclibctoolize (diff)
downloadhistorical-aaf815754a08937e3665dc74529858e92c4ecdcd.tar.gz
historical-aaf815754a08937e3665dc74529858e92c4ecdcd.tar.bz2
historical-aaf815754a08937e3665dc74529858e92c4ecdcd.zip
ltconfig-1.4 seems to be compatible with ltconfig-1.3 and uclibctoolize
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r--eclass/libtool.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index dd4c55bbd04e..4d68528b2669 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.32 2004/09/25 06:35:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.33 2004/09/25 06:37:30 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -282,6 +282,7 @@ uclibctoolize() {
ltconfig)
local ver="$(grep '^VERSION=' ${x})"
ver="${ver/VERSION=}"
+ [ "${ver:0:3}" == "1.4" ] && ver="1.3" # 1.4 and 1.3 are compat
ebegin " Fixing \${S}${x/${S}}"
patch -p0 "${x}" "${ELT_PATCH_DIR}/uclibc/ltconfig-${ver:0:3}.patch" > /dev/null
eend $? "PLEASE CHECK ${x}"