summaryrefslogtreecommitdiff
path: root/net/haproxy
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-07-16 13:29:55 +0000
committernia <nia@pkgsrc.org>2021-07-16 13:29:55 +0000
commit0ca1f4a0f22a2b1163cb6dbfe2fcc1a0c9a47bb9 (patch)
treefe88bfc7fc56baf6c0ecc42e2c30b4f11d5ee548 /net/haproxy
parenta7e91f8b976f2369c73732728e3eef84d07cfd5d (diff)
downloadpkgsrc-0ca1f4a0f22a2b1163cb6dbfe2fcc1a0c9a47bb9.tar.gz
haproxy: Only include libatomic if the compiler is gcc
Diffstat (limited to 'net/haproxy')
-rw-r--r--net/haproxy/Makefile5
1 files changed, 3 insertions, 2 deletions
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"