wok rev 17847
gcc49: do not hide gcc-lib-base
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 24 12:51:51 2015 +0100 (2015-03-24) |
parents | ae76ef329371 |
children | 7bad8bebfb68 |
files | gcc49/receipt hardware-ibm-6272/receipt llvm/receipt |
line diff
1.1 --- a/gcc49/receipt Tue Mar 24 09:31:33 2015 +0100 1.2 +++ b/gcc49/receipt Tue Mar 24 12:51:51 2015 +0100 1.3 @@ -56,8 +56,11 @@ 1.4 mkdir -p $fs/usr/share 1.5 cp -a $install/usr/bin $fs/usr 1.6 1.7 - # Copy all libs. 1.8 + # Copy all libs. Do not hide gcc-lib-base. 1.9 cp -a $install/usr/lib $fs/usr 1.10 + rm -f $fs/usr/lib/libgcc_s.so* 1.11 + rm -f $fs/usr/lib/libstdc++.so* 1.12 + rm -f $fs/usr/lib/libgomp.so* 1.13 1.14 # Include files. 1.15 cp -a $install/usr/include $fs/usr
2.1 --- a/hardware-ibm-6272/receipt Tue Mar 24 09:31:33 2015 +0100 2.2 +++ b/hardware-ibm-6272/receipt Tue Mar 24 12:51:51 2015 +0100 2.3 @@ -17,7 +17,8 @@ 2.4 cat > $fs/etc/init.d/pnp.sh <<EOT 2.5 #!/bin/sh 2.6 2.7 -status="\\\\033[70G[ \\\\033[1;31mFailed\\\\033[0;39m ]" 2.8 +. /etc/init.d/rc.functions 2.9 + 2.10 echo -n "Switching on isa pnp ethernet card " 2.11 # io 0x360..0x250 by 0x10, irq 15 12 11 10 9 7 6 5 4 3 2.12 for io in \$(seq 360 -10 250); do for irq in 15 12 11 10; do 2.13 @@ -31,16 +32,20 @@ 2.14 }" > /etc/isapnp.conf 2.15 if isapnp /etc/isapnp.conf > /dev/null 2>&1 ; then 2.16 modprobe cs89x0 io=0x\$io irq=\$irq > /dev/null 2>&1 2.17 - status="\\\\033[70G[ \\\\033[1;33mOK\\\\033[0;39m ]" 2.18 break 2 2.19 fi 2.20 done ; done 2.21 -echo -e "\$status" 2.22 +status 2.23 EOT 2.24 chmod +x $fs/etc/init.d/pnp.sh 2.25 } 2.26 2.27 # Pre and post install commands for Tazpkg. 2.28 +pre_remove() 2.29 +{ 2.30 + sed -i 's/pnp.sh //' $1/etc/rcS.conf 2.31 +} 2.32 + 2.33 post_install() 2.34 { 2.35 grep pnp.sh $1/etc/rcS.conf ||
3.1 --- a/llvm/receipt Tue Mar 24 09:31:33 2015 +0100 3.2 +++ b/llvm/receipt Tue Mar 24 12:51:51 2015 +0100 3.3 @@ -16,7 +16,7 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - ./configure CC=gcc-49 CXX=gcc-49 \ 3.8 + ./configure CC=gcc-49 CXX=g++-49 \ 3.9 --prefix=/usr --sysconfdir=/etc \ 3.10 --enable-libffi \ 3.11 --enable-optimized \