From 24f27428d2d577d6f28f4f3712c99a1c9c32065b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 Jan 2005 00:17:12 +0000 Subject: [PATCH] fix bashism to be portable #77842 by Brad House Package-Manager: portage-2.0.51-r12 --- sys-devel/libtool/Manifest | 8 ++++---- .../files/1.5.6/libtool-1.5-filter-host-tags.patch | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-devel/libtool/Manifest b/sys-devel/libtool/Manifest index ee33ff66f71e..1a3b45cd4e87 100644 --- a/sys-devel/libtool/Manifest +++ b/sys-devel/libtool/Manifest @@ -32,7 +32,7 @@ MD5 94591cd9fb847704a323c0faf31fdbf2 files/1.4.3/libtool-1.4.3-ltmain-SED.patch MD5 a9be6866b7096092613595ccff0fd773 files/1.4.3/libtool-1.4.3-pass-thread-flags.patch 494 MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951 MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911 -MD5 e9bbbf33e0ca9ed566c2bf5209265cfe files/1.5.6/libtool-1.5-filter-host-tags.patch 785 +MD5 156cac6117d0d22e752b18b2f40728d1 files/1.5.6/libtool-1.5-filter-host-tags.patch 806 MD5 5e84c0a07a77ed6408b25453373914ab files/1.5.6/libtool-1.5.6-ltmain-SED.patch 431 MD5 ec9cd0c9953bac111564122a5c209278 files/1.5.2/libtool-1.5-filter-host-tags.patch 1846 MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466 @@ -42,7 +42,7 @@ MD5 b81a86ce5e9014e53bd7beb12e46ed12 files/1.5.2/libtool-1.5.2-ltmain_sh-max_cmd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.14 (GNU/Linux) -iD8DBQFB5b5NroRuSHgZdywRAuK5AJ9Gjjx8GpziutL1ocUOD8bFwkqZ+QCeJZdD -00mkFNz9OqAl3WhIr9N3H7s= -=V84y +iD8DBQFB6GGHroRuSHgZdywRAptdAJ0bs/x+fVo52awihRXoxkhj6mCK4gCdEsgc +cXXU3wZgJfhpCgG6WJ2r6KE= +=AOi5 -----END PGP SIGNATURE----- diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch index d6b8cd0016af..9145bc76cdca 100644 --- a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch +++ b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch @@ -5,7 +5,7 @@ CC_quoted="$CC_quoted $arg" done + # user sometimes does CC=-gcc so we need to match that to 'gcc' -+ trimedcc="${CC/${host}-}" ++ trimedcc=`echo ${CC} | $SED -e "/${host}-//g"` case "$@ " in + "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*) + tagname=CC -- 2.26.2