From nobody Wed Dec 15 20:07:31 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A4B3F18EDFE1; Wed, 15 Dec 2021 20:07:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JDmW80t3qz3v2k; Wed, 15 Dec 2021 20:07:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9546A225C2; Wed, 15 Dec 2021 20:07:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BFK7VvY094207; Wed, 15 Dec 2021 20:07:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BFK7V7j094206; Wed, 15 Dec 2021 20:07:31 GMT (envelope-from git) Date: Wed, 15 Dec 2021 20:07:31 GMT Message-Id: <202112152007.1BFK7V7j094206@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: df87dedfe1f5 - main - net/haproxy: fix build on powerpc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df87dedfe1f5e41e90d3748ecaf842c083273e7b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639598852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SXv+eCGu+uo8oVKVc4UrGAMx/ftUuNF/AoURuBKGh/Q=; b=wo+vMzzD+t/da62UE6l0Hkc0GJ9NiAnzH7JORweyYkir+bS/lexKUSw9VKW16Bj94ecA8t McStu9fNn0Poc9Mn1Y4nnGf6TrkCNFaycAcWsxOKpi9Ek58BRBytpMurfwyPbFFLjP1IB5 1o9D00sNZh1u7UoaTQ0zkfPZVLAh8rcIpHPmzi1WNCLq9/VIkzHwwhyrCM/9t/jcj4n1SI XtynQth7c5fwU6ouPDWnFeMjJf0RKDXukzqvua1HIEzm1T1hd+UsxeQhrbXAe9NThscvt2 wSfbMcbCBKjoi1rn1Vk6Jl61oGxqsuZpqdEZnEPfFeB8cVPG5a9OZPOcZMz7kg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639598852; a=rsa-sha256; cv=none; b=uBhwDLK//Qc5XkUgab5hW0kn7eivK+CkCcEMjiGnoTP1Q0EBN1FEyKK6/EyQOd1zgQo0BY k8f2ayUUCAg0Tu0dsf1vC/JYh6l9dDuLfbM0gZHRLYyts6qyibAUwC7JiAHEUZt8feoqt/ riGZqUrQzgskcdUo2za32QMkeVJlUQQGlfq6S4uJ8W9BHLKOVIzh0vGY8Gl9SFLSvCs2Dv 5KA36RKqNV3tPlV07KQc3P3TlHt5IhUiP2LwGn1x/tAop+zHUMdSJL654C4YRtVeaAPAgQ 7wRFVEUyFuxroPEy8Kn+9PT+9mNMKA1CQ0WdrQWWPaL84WW/mhuY3PBEnLnTug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=df87dedfe1f5e41e90d3748ecaf842c083273e7b commit df87dedfe1f5e41e90d3748ecaf842c083273e7b Author: Piotr Kubaj AuthorDate: 2021-12-15 20:01:56 +0000 Commit: Piotr Kubaj 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 + +.if ${ARCH} == powerpc +MAKE_ARGS+= USE_LIBATOMIC= +.endif + .include .if ${ARCH} == "amd64" || ${ARCH} == "i386"