pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/haproxy haproxy: Limit aarch64 libatomic include t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d07c2040511
branches:  trunk
changeset: 456010:0d07c2040511
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jul 16 10:29:10 2021 +0000

description:
haproxy: Limit aarch64 libatomic include to NetBSD.

Fixes build on Darwin/aarch64.

diffstat:

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

diffs (18 lines):

diff -r b8e035b2d0a7 -r 0d07c2040511 net/haproxy/Makefile
--- a/net/haproxy/Makefile      Fri Jul 16 09:56:25 2021 +0000
+++ b/net/haproxy/Makefile      Fri Jul 16 10:29:10 2021 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index