Add a compile_klibc(...) fix for old GNU tars and patch the klibc Makefile to leave...
authorTim Yamin <plasmaroo@gentoo.org>
Sun, 18 Dec 2005 15:29:08 +0000 (15:29 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sun, 18 Dec 2005 15:29:08 +0000 (15:29 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@344 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh
genkernel

index 700416dd78e65e91732804c242bb9ce2c7549529..1f90f28454b5c9b5f4dbb478909e4542189c3577 100644 (file)
@@ -704,11 +704,14 @@ compile_klibc() {
        rm -rf "${KLIBC_DIR}" klibc-build
        [ ! -f "${KLIBC_SRCTAR}" ] &&
                gen_die "Could not find klibc tarball: ${KLIBC_SRCTAR}"
-       /bin/tar -xpf "${KLIBC_SRCTAR}" ||
+       /bin/tar zxpf "${KLIBC_SRCTAR}" ||
                gen_die 'Could not extract klibc tarball'
        [ ! -d "${KLIBC_DIR}" ] &&
                gen_die "klibc tarball ${KLIBC_SRCTAR} is invalid"
        cd "${KLIBC_DIR}"
+
+       # Don't install to "//lib" fix
+       sed -e 's:$(INSTALLROOT)/$(SHLIBDIR):$(INSTALLROOT)$(INSTALLDIR)/$(CROSS)lib:' -i klibc/Makefile
        if [ -f ${GK_SHARE}/pkg/byteswap.h ]
        then
                echo "Inserting byteswap.h into klibc"
index aa814e63f3c54b1f3db28227ac17d6aed0925590..7aa895badf895cba67992c6989f173dfd6b9bf86 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -2,7 +2,7 @@
 # Genkernel v3
 
 PATH="/bin:/usr/bin:/sbin:/usr/sbin"
-GK_V='3.3.9'
+GK_V='3.3.10'
 
 TMPDIR='/var/tmp/genkernel'
 TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.