From 0ca1f4a0f22a2b1163cb6dbfe2fcc1a0c9a47bb9 Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 16 Jul 2021 13:29:55 +0000 Subject: haproxy: Only include libatomic if the compiler is gcc --- net/haproxy/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/haproxy') diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index cfe2118a9a4..22684628819 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.81 2021/07/16 10:29:10 jperkin Exp $ +# $NetBSD: Makefile,v 1.82 2021/07/16 13:29:55 nia Exp $ DISTNAME= haproxy-2.4.2 CATEGORIES= net www @@ -56,7 +56,8 @@ post-install: .include "../../devel/zlib/buildlink3.mk" .include "../../mk/atomic64.mk" -.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) +.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && \ + !empty(PKGSRC_COMPILER:M*gcc*) .include "../../devel/libatomic/buildlink3.mk" .endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3