From a7e91f8b976f2369c73732728e3eef84d07cfd5d Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 16 Jul 2021 10:29:10 +0000 Subject: haproxy: Limit aarch64 libatomic include to NetBSD. Fixes build on Darwin/aarch64. --- net/haproxy/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/haproxy') diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index e09d4951d88..cfe2118a9a4 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.80 2021/07/08 12:24:37 adam Exp $ +# $NetBSD: Makefile,v 1.81 2021/07/16 10:29:10 jperkin Exp $ DISTNAME= haproxy-2.4.2 CATEGORIES= net www @@ -56,7 +56,7 @@ post-install: .include "../../devel/zlib/buildlink3.mk" .include "../../mk/atomic64.mk" -.if ${MACHINE_ARCH} == "aarch64" +.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) .include "../../devel/libatomic/buildlink3.mk" .endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3