ports/opt (3.5): clang-ccache-bindings: update for clang 9
commit f49c0482c7179e2d53a8cb28afce2a198acd3abd Author: Danny Rawlins <monster.romster@gmail.com> Date: Thu Nov 28 23:05:15 2019 +1100 clang-ccache-bindings: update for clang 9 diff --git a/clang-ccache-bindings/.footprint b/clang-ccache-bindings/.footprint index 1745bc788..08399004f 100644 --- a/clang-ccache-bindings/.footprint +++ b/clang-ccache-bindings/.footprint @@ -3,4 +3,5 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/ccache/ lrwxrwxrwx root/root usr/lib/ccache/clang -> ../../bin/ccache lrwxrwxrwx root/root usr/lib/ccache/clang++ -> ../../bin/ccache -lrwxrwxrwx root/root usr/lib/ccache/clang-8.0 -> ../../bin/ccache +lrwxrwxrwx root/root usr/lib/ccache/clang-9 -> ../../bin/ccache +lrwxrwxrwx root/root usr/lib/ccache/clang-9.0 -> ../../bin/ccache diff --git a/clang-ccache-bindings/.signature b/clang-ccache-bindings/.signature index c18a38d29..be55ec8b2 100644 --- a/clang-ccache-bindings/.signature +++ b/clang-ccache-bindings/.signature @@ -1,4 +1,4 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/fwhI4vtsIGZIDjyZFESP7aUBQAdASoYBLFowuLvJ57fZMgZ+SUkVL1E9hgMlndnJ0A9JJ4RR1A+UshnApHYKwA= -SHA256 (Pkgfile) = 807356ba4011783fd4bf9e5cad26cf30c0a1542f0df74cac523952c7dc2c112e +RWSE3ohX2g5d/fQwAiNC40XmvCTfcS1drtPphvyiaeRZkdFy53IcylJLkHJxSouWgJR7wfRKXKSQ8bzSHbeFV77T10cku7MZ1Qk= +SHA256 (Pkgfile) = 53d1fae09d5c56e27d4ad944ad6b6102f815d1eb4ecc6e1838a157cdf290f3df SHA256 (.footprint) = 5adac0fcd1bf4fee8c1996b57ee83a30043b42da087159727dfe73f2470827e7 diff --git a/clang-ccache-bindings/Pkgfile b/clang-ccache-bindings/Pkgfile index 8269962b3..a4bdc6a20 100644 --- a/clang-ccache-bindings/Pkgfile +++ b/clang-ccache-bindings/Pkgfile @@ -5,21 +5,23 @@ name=clang-ccache-bindings version=1 -release=3 +release=4 source=() build() { install -d $PKG/usr/lib/ccache - 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/ccache $PKG/usr/lib/ccache/clang - ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang + ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang0 + ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang1 ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang++ }
participants (1)
-
crux@crux.nu