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"