git: 56c987b27403 - main - net/haproxy: fix build for i386.

From: Dmitry Sivachenko <demon_at_FreeBSD.org>
Date: Wed, 22 Dec 2021 10:21:47 UTC
The branch main has been updated by demon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56c987b2740352c159589f4c54ea7241c1ad5593

commit 56c987b2740352c159589f4c54ea7241c1ad5593
Author:     Dmitry Sivachenko <demon@FreeBSD.org>
AuthorDate: 2021-12-22 10:16:53 +0000
Commit:     Dmitry Sivachenko <demon@FreeBSD.org>
CommitDate: 2021-12-22 10:21:37 +0000

    net/haproxy: fix build for i386.
    
    Patch from PR 260232 by diizzy.
    
    PR: 260555
---
 net/haproxy/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index d9bfbc01405e..0f00495d5009 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -26,7 +26,9 @@ USE_RC_SUBR=	haproxy
 ALL_TARGET=	all admin/halog/halog
 MAKE_ARGS=	TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \
 		USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 \
-		CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}"
+		CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}" \
+		${MAKE_ARGS_${ARCH}}
+MAKE_ARGS_i386=	USE_LIBATOMIC=
 
 OPTIONS_DEFINE=		DOCS EXAMPLES LUA OPENSSL DEVICEATLAS PROMEX
 OPTIONS_RADIO=		PCRE