[crux-commits] ports/opt (3.6): clang-distcc-bindings: update footprint

crux at crux.nu crux at crux.nu
Wed Feb 17 09:54:49 UTC 2021


commit 200e9b14ed984d6db146933a8e035e6f45a689f3
Author: Danny Rawlins <contact at romster.me>
Date:   Wed Feb 17 20:54:33 2021 +1100

    clang-distcc-bindings: update footprint

diff --git a/clang-distcc-bindings/.footprint b/clang-distcc-bindings/.footprint
index 3d0f363a6..cbf7238c2 100644
--- a/clang-distcc-bindings/.footprint
+++ b/clang-distcc-bindings/.footprint
@@ -3,5 +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-10 -> ../../bin/distcc
-lrwxrwxrwx	root/root	usr/lib/distcc/clang-10.0 -> ../../bin/distcc
+lrwxrwxrwx	root/root	usr/lib/distcc/clang-11 -> ../../bin/distcc
+lrwxrwxrwx	root/root	usr/lib/distcc/clang-11.1 -> ../../bin/distcc
diff --git a/clang-distcc-bindings/.signature b/clang-distcc-bindings/.signature
index 5f674b2c0..41b122534 100644
--- a/clang-distcc-bindings/.signature
+++ b/clang-distcc-bindings/.signature
@@ -1,4 +1,4 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/YBB6KHUNRCzEQkuIPon9QmcyEbK69sXQPOoo57kuLHKT8YkXTRYy6suXiVmCq/M79Tppi3QDXzp/cB9GXrOAwk=
-SHA256 (Pkgfile) = dd86a9a91c5142ad196819d599c2925618484b2fc128ef636aba17310b80fe45
-SHA256 (.footprint) = 5d7d8ad757ea995fcadee23e8c63a15aaa043459aa0e369eb8629deab05ad7a4
+RWSE3ohX2g5d/QW9/Huq4M3bnhB7R4VXFWArshnNJJp6DUxvOEKGL0nb/RElJwL2tkf27pJLBmSggUs3QWp5QI9s6qELCUboQwI=
+SHA256 (Pkgfile) = 8cd15fc0b7d7b6ad15b4ec373f6d05607da4df3ec6df0faf8725f0e647b3d9e8
+SHA256 (.footprint) = 0c948df5d0041ba4eba532d398878c9863d222545c35653ca91622abdb02a39f
diff --git a/clang-distcc-bindings/Pkgfile b/clang-distcc-bindings/Pkgfile
index e7b0b235d..b0b7e009f 100644
--- a/clang-distcc-bindings/Pkgfile
+++ b/clang-distcc-bindings/Pkgfile
@@ -1,18 +1,18 @@
 # Description: Masquerade directory to use distcc with clang.
-# URL: http://gcc.gnu.org/
+# URL: http://distcc.org/
 # Maintainer: Danny Rawlins, crux at romster dot me
 # Depends on: clang distcc
 
 name=clang-distcc-bindings
-version=10
+version=11
 release=1
 source=()
 
 build() {
 	install -d $PKG/usr/lib/distcc
 
-	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')"
+	local clang0="$(clang --version | awk '/version/ { split($3,i,"."); print i[1]"."i[2] }')"
+	local clang1="${clang0:0:2}"
 
 	if [ -z $clang0 ]; then
 		echo 'Failed to find clang version'


More information about the crux-commits mailing list