wok-6.x rev 17724

glibc: accept make 4.x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 19:08:32 2015 +0100 (2015-03-05)
parents 10917ea527b1
children 4401be3f0919
files glibc-dev/receipt glibc/receipt
line diff
     1.1 --- a/glibc-dev/receipt	Thu Mar 05 18:20:41 2015 +0100
     1.2 +++ b/glibc-dev/receipt	Thu Mar 05 19:08:32 2015 +0100
     1.3 @@ -19,7 +19,7 @@
     1.4  {
     1.5      # Mass copy and then remove all files specified in stuff/base-files.list.
     1.6      # We get the files from glibc-base. Locale files are in: glibc-locale.
     1.7 -    cp -a $install/* $fs
     1.8 +    cp -a $install/* $install/lib $fs
     1.9      
    1.10      # Rm base files.
    1.11      echo -n "Removing all base files..."
     2.1 --- a/glibc/receipt	Thu Mar 05 18:20:41 2015 +0100
     2.2 +++ b/glibc/receipt	Thu Mar 05 19:08:32 2015 +0100
     2.3 @@ -64,8 +64,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 -
     2.9  	# SliTaz is a Busybox based OS, why we so small and fast. Using gawk by
    2.10  	# default to build package will not ensure package work with Busybox awk
    2.11  	# and so should NOT be use to cook.
    2.12 @@ -73,6 +71,8 @@
    2.13  		[ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk
    2.14  	fi
    2.15  
    2.16 +	# Make 4.x support...
    2.17 +	sed -i 's/3\.79/4.* | &/' configure*
    2.18  	# Fixes and patches from LFS, Redhat
    2.19  	sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl
    2.20  	sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in