mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/distcc to 3.3.5-1
This commit is contained in:
parent
3b017392fd
commit
4d405de47a
1 changed files with 5 additions and 7 deletions
|
@ -10,8 +10,8 @@
|
|||
# - patch to allow zero timeout (INT_MAX time to complete)
|
||||
|
||||
pkgname=distcc
|
||||
pkgver=3.3.3
|
||||
pkgrel=9
|
||||
pkgver=3.3.5
|
||||
pkgrel=1
|
||||
_gccver=10.2.0 # Current GCC version, used for symlinks. See FS#69044
|
||||
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
|
||||
arch=(x86_64)
|
||||
|
@ -22,7 +22,7 @@ makedepends=(git python)
|
|||
optdepends=("gcc=$_gccver" python)
|
||||
backup=(etc/conf.d/distccd
|
||||
etc/distcc/hosts)
|
||||
source=("git+$url#commit=4cde9bcfbda589abd842e3bbc652ce369085eaae" # tag: v3.3.3
|
||||
source=("git+$url#commit=8d2a5709d249949e8177dcf08b56dbe7857daa7f" # tag: v3.3.5
|
||||
distccd.conf.d
|
||||
distccd.service
|
||||
sysusers.conf
|
||||
|
@ -39,11 +39,11 @@ prepare() {
|
|||
./autogen.sh
|
||||
sed -i 's/ install-gnome-data//g' Makefile.in
|
||||
# FS#66418, support Python 3.9
|
||||
find . -name "*.py" -type f -exec sed -i 's/e.clock(/e.perf_counter(/g' {} \;
|
||||
find . -name '*.py' -type f -exec sed -i 's,e.clock(,e.perf_counter(,g' {} \;
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
cd $pkgname
|
||||
|
||||
export CFLAGS+=' -fcommon'
|
||||
./configure \
|
||||
|
@ -80,5 +80,3 @@ package() {
|
|||
# FS#67629
|
||||
install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/distccd.conf"
|
||||
}
|
||||
|
||||
# getver: distcc.org
|
||||
|
|
Loading…
Reference in a new issue