diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-07-16 10:29:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-07-16 10:29:10 +0000 |
commit | a7e91f8b976f2369c73732728e3eef84d07cfd5d (patch) | |
tree | cc751f2c2a248df2ecaadc5be0465d382717ac45 /net/haproxy | |
parent | 56e0faaf83a59c02f114b5e4dc6e7678bfa99742 (diff) | |
download | pkgsrc-a7e91f8b976f2369c73732728e3eef84d07cfd5d.tar.gz |
haproxy: Limit aarch64 libatomic include to NetBSD.
Fixes build on Darwin/aarch64.
Diffstat (limited to 'net/haproxy')
-rw-r--r-- | net/haproxy/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index e09d4951d88..cfe2118a9a4 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -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 @@ post-install: .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" |