From c9fde882272f46a5f670d223c36cd7afa0eea65a Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Sun, 16 May 2004 19:06:15 +0000 Subject: [PATCH] Rene Rebe: autodetect glibc23 linuxthreads tarball (I have been too lazy for some days ago) [2004050400523319116] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2915 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/glibc23/glibc23.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package/base/glibc23/glibc23.conf b/package/base/glibc23/glibc23.conf index 8d01d8b70..a6fb05314 100644 --- a/package/base/glibc23/glibc23.conf +++ b/package/base/glibc23/glibc23.conf @@ -122,7 +122,11 @@ glibc_custmain() { } glibc_prepatch() { - tar $taropt $archdir/glibc-linuxthreads-$threadsver.tar.bz2 + tarball="`echo $desc_D | grep linuxthreads | \ + sed 's/.* \(.*\.linuxthreads.*\) .*/\1/'`" + if [ "$tarball" ] ; then + tar $taropt $archdir/$tarball + fi } glibc_stage0() { @@ -140,8 +144,7 @@ glibc_stage0() { } threadsver="$ver" -#reenable it as soon as the glibc morons release a new tarball ... -#prepatch="glibc_prepatch" +prepatch="glibc_prepatch" if [ $stagelevel -eq 0 ]; then custmain="glibc_stage0"