commit 6c486debd5b9fb44d095ae6552f0305daecf2f65 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Dec 29 19:42:01 2019 +1100 thunderbird: ccache check for clang version diff --git a/thunderbird/.signature b/thunderbird/.signature index 5fce22aa6..3437ed556 100644 --- a/thunderbird/.signature +++ b/thunderbird/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3y9fkbPG0DmToPifsahD4i6WgZbEz6vBct0RKX+gwtUtHR3mzeaQSEiqZAuIoAD/tMoZs4pXGKAOiVdBJlA/cQY= -SHA256 (Pkgfile) = 4fd37a3662e9e826ca23d5a26016212295bc54d478cc873cfb9e51532f8283ab +RWSagIOpLGJF3/jXyk9qefU0RLBFdIC8F78TqotXXsYpgyp4Gs0iQg4tLFrpyWZISQMIKlStwTg6wrFcK0zFsngh60jxy6vevQY= +SHA256 (Pkgfile) = 955845de67d203416e48eb15c23f9fd75ae57195cbb0695d83351dca46219d5a SHA256 (.footprint) = 345c06ea7ab2e90fe32c0a85a09dab8dc14485da0967bae3951c1052e3629b4c SHA256 (thunderbird-68.3.1.source.tar.xz) = 76284cd3f192ac5678bbf10e1ce9308e913c2e6dde89e055d3ffe568e0e71fa6 SHA256 (thunderbird.desktop) = c6bc6a66f16951c4f7560d019dad48968169aef6587cef4e98380a300078299a diff --git a/thunderbird/Pkgfile b/thunderbird/Pkgfile index 3f724c21f..838ec8a2e 100644 --- a/thunderbird/Pkgfile +++ b/thunderbird/Pkgfile @@ -14,6 +14,11 @@ source=(http://ftp.mozilla.org/pub/thunderbird/releases/$version/source/$name-$v build() { cd $name-$version + if [ -e '/usr/bin/ccache' ]; then + export OS_CCACHE_COMPILERCHECK="$(/usr/bin/clang -dumpversion | sed -z 's/\n/ /g'; crux | cut -d' ' -f3)" + export CCACHE_COMPILERCHECK="string:$OS_CCACHE_COMPILERCHECK" + fi + patch -p1 -i $SRC/thunderbird-68.2.2-rust-1.39+.patch prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache