wok-6.x diff gcc61-lib-base/receipt @ rev 24718

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
parents 232cc8814046
children
line diff
     1.1 --- a/gcc61-lib-base/receipt	Thu Jul 14 20:51:08 2016 +0000
     1.2 +++ b/gcc61-lib-base/receipt	Tue Mar 15 07:41:02 2022 +0100
     1.3 @@ -19,10 +19,18 @@
     1.4  	rm -f $fs/usr/lib/*-gdb.py
     1.5  }
     1.6  
     1.7 +pre_install()
     1.8 +{
     1.9 +	cd "$1/usr/lib"
    1.10 +	[ -s libgcc_s.so.1 ] && cp -a libgcc_s.so.1 libgcc_s.so.1.prev 
    1.11 +	cd - >/dev/null
    1.12 +}
    1.13 +
    1.14  post_remove()
    1.15  {
    1.16  	cd "$1/usr/lib"
    1.17  	ln -s libstdc++.so.6.*.* libstdc++.so.6
    1.18  	ln -s libstdc++.so.6.*.* libstdc++.so
    1.19 +	[ -s libgcc_s.so.1.prev ] && mv libgcc_s.so.1.prev libgcc_s.so.1
    1.20  	cd - >/dev/null
    1.21  }