haproxy: update to 2.4.3.

Move to using DEBUG_CFLAGS when passing CFLAGS to makefile, otherwise we
override their required CFLAGS, such as -fwrapv.
This commit is contained in:
Érico Nogueira 2021-08-17 16:56:25 -03:00 committed by Érico Nogueira Rolim
parent 56ea379c8c
commit 789f7df8b1

View file

@ -1,7 +1,7 @@
# Template file for 'haproxy'
pkgname=haproxy
version=2.4.2
revision=2
version=2.4.3
revision=1
build_style=gnu-makefile
make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
hostmakedepends="lua53-devel"
@ -12,7 +12,7 @@ maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.haproxy.org"
distfiles="${homepage}/download/${version%.*}/src/${pkgname}-${version}.tar.gz"
checksum=@ef7a20a36812f119d0113a28e0b26b909f8177a224c840082295fae265ba1f81
checksum=ce479380be5464faa881dcd829618931b60130ffeb01c88bc2bf95e230046405
haproxy_homedir="/var/lib/${pkgname}"
make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
@ -26,7 +26,7 @@ do_build() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
atomic="-latomic"
fi
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
make ${makejobs} CC="$CC" DEBUG_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
TARGET=$target USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1 \
USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1 \
USE_PROMEX=1 ADDLIB="$atomic"