pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/haproxy



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul 16 13:29:56 UTC 2021

Modified Files:
        pkgsrc/net/haproxy: Makefile

Log Message:
haproxy: Only include libatomic if the compiler is gcc


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/net/haproxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/haproxy/Makefile
diff -u pkgsrc/net/haproxy/Makefile:1.81 pkgsrc/net/haproxy/Makefile:1.82
--- pkgsrc/net/haproxy/Makefile:1.81    Fri Jul 16 10:29:10 2021
+++ pkgsrc/net/haproxy/Makefile Fri Jul 16 13:29:55 2021
@@ -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"



Home | Main Index | Thread Index | Old Index