Date: Wed, 15 Dec 2021 20:07:31 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: df87dedfe1f5 - main - net/haproxy: fix build on powerpc Message-ID: <202112152007.1BFK7V7j094206@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=df87dedfe1f5e41e90d3748ecaf842c083273e7b commit df87dedfe1f5e41e90d3748ecaf842c083273e7b Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-12-15 20:01:56 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-12-15 20:01:56 +0000 net/haproxy: fix build on powerpc LLVM does not have libatomic. Passing MAKE_ARGS needs to be done earlier then bsd.port.pre.mk. --- net/haproxy/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index 20fb5b3e1d8a..d9bfbc01405e 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -53,6 +53,12 @@ LUA_MAKE_ARGS= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NA OPTIONS_DEFAULT+= LUA .endif +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +MAKE_ARGS+= USE_LIBATOMIC= +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" || ${ARCH} == "i386"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112152007.1BFK7V7j094206>