community/haproxy: fix

This commit is contained in:
Kevin Mihelich 2020-09-09 23:48:24 +00:00
parent 10f9b49927
commit 9709dc7efe

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - explicitly link v5/v6 with libatomic
# - upstream patch to fix FTBFS
pkgname=haproxy
pkgver=2.2.3
@ -23,17 +24,20 @@ install=haproxy.install
source=(https://www.haproxy.org/download/${pkgver%.*}/src/haproxy-$pkgver.tar.gz
haproxy.cfg
haproxy.sysusers
0001-Use-CFLAGS-and-LDFLAGS-when-building-contrib.patch)
0001-Use-CFLAGS-and-LDFLAGS-when-building-contrib.patch
https://github.com/haproxy/haproxy/commit/f734ebfac4c406f245347527bd0e5831a251cc61.patch)
sha256sums=('7209db363d4dbecb21133f37b01048df666aebc14ff543525dbea79be202064e'
'e88edeb2fe23508565e46ff485c93cfb7c2e9c64f231538452ec7ecd7ec37a42'
'b02b4088205039f0979aef0ef3e22957f493dd54eabefaee7011f2d795303b3e'
'81c03ef5d69f4f2ef2c7caa6722c82cda4a53b65f788a46e668ec2faa3abd8f5')
'81c03ef5d69f4f2ef2c7caa6722c82cda4a53b65f788a46e668ec2faa3abd8f5'
'ed8c3e453e4f7a2f29ed349e94b2dc53ce7385cd2568ed31ad91dd7118bf4600')
prepare() {
cd haproxy-$pkgver
patch -p1 <"$srcdir"/0001-Use-CFLAGS-and-LDFLAGS-when-building-contrib.patch
patch -p1 <"$srcdir"/f734ebfac4c406f245347527bd0e5831a251cc61.patch
}
build() {