commit 7093dc74d786681b2c5e84ad6d6d3bd111c1b75f Author: Danny Rawlins <monster.romster@gmail.com> Date: Thu Nov 28 23:08:40 2019 +1100 clang-distcc-bindings: update for clang 9 diff --git a/clang-distcc-bindings/.footprint b/clang-distcc-bindings/.footprint index 4b93c2a1f..a11984641 100644 --- a/clang-distcc-bindings/.footprint +++ b/clang-distcc-bindings/.footprint @@ -3,4 +3,5 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/distcc/ lrwxrwxrwx root/root usr/lib/distcc/clang -> ../../bin/distcc lrwxrwxrwx root/root usr/lib/distcc/clang++ -> ../../bin/distcc -lrwxrwxrwx root/root usr/lib/distcc/clang-8.0 -> ../../bin/distcc +lrwxrwxrwx root/root usr/lib/distcc/clang-9 -> ../../bin/distcc +lrwxrwxrwx root/root usr/lib/distcc/clang-9.0 -> ../../bin/distcc diff --git a/clang-distcc-bindings/.signature b/clang-distcc-bindings/.signature index 0d74378a8..76d85aff4 100644 --- a/clang-distcc-bindings/.signature +++ b/clang-distcc-bindings/.signature @@ -1,4 +1,4 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/SreQKrH43FSOOnmBAOkeCJzwiaZozWZ3iimR8W0F6GaBvjq/Q2PzajgvwODucH1ZTIfPoQCX33E+w5t8u+4twE= -SHA256 (Pkgfile) = 6145f68d64d8ba85178c97f3c6ca53575124337b85d7bbfcc0205bae273b8a7b -SHA256 (.footprint) = cb3366dfe3182d29557fb064e2d8c847a1fc7b054b411c449dc5707b7aab6b1b +RWSE3ohX2g5d/ZdFwuvJpu8IJlsY2ixbjI058wlQLE/zKduXL8Ud+AWvWaWKyy4g9oUVLfHUzPnszBhFpAgMuEYB32L8dFLLEQo= +SHA256 (Pkgfile) = 43af3a59a314d42cbadd2457ee099755d3668aebb314d5ac603436f14689c8bf +SHA256 (.footprint) = 1ba5ab5e2e019bce5deb6814bbc24918e7e5ba0f9fdb69916468f8c059e1a881 diff --git a/clang-distcc-bindings/Pkgfile b/clang-distcc-bindings/Pkgfile index 564917430..b473c6f9e 100644 --- a/clang-distcc-bindings/Pkgfile +++ b/clang-distcc-bindings/Pkgfile @@ -5,20 +5,22 @@ name=clang-distcc-bindings version=1 -release=3 +release=4 source=() build() { install -d $PKG/usr/lib/distcc - local clang="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*\).[0-9]* .*/\1/g')" + local clang0="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*\).[0-9]*.[0-9]* .*/\1/g')" + local clang1="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*\).[0-9]* .*/\1/g')" - if [ -z $clang ]; then + if [ -z $clang0 ]; then echo 'Failed to find clang version' exit 1 fi ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang - ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang-$clang + ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang-$clang0 + ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang-$clang1 ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang++ }