pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/haproxy haproxy: Only include libatomic if the com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6217cc01e374
branches:  trunk
changeset: 456011:6217cc01e374
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 16 13:29:55 2021 +0000

description:
haproxy: Only include libatomic if the compiler is gcc

diffstat:

 net/haproxy/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0d07c2040511 -r 6217cc01e374 net/haproxy/Makefile
--- a/net/haproxy/Makefile      Fri Jul 16 10:29:10 2021 +0000
+++ b/net/haproxy/Makefile      Fri Jul 16 13:29:55 2021 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index