From df87dedfe1f5e41e90d3748ecaf842c083273e7b Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 15 Dec 2021 20:01:56 +0000 Subject: 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 + +.if ${ARCH} == powerpc +MAKE_ARGS+= USE_LIBATOMIC= +.endif + .include .if ${ARCH} == "amd64" || ${ARCH} == "i386" -- cgit v1.2.3