pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/isc-dhcpd4 net/isc-dhcpd4: add hacks.mk to use lib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9a5c3a9002a
branches: trunk
changeset: 382282:f9a5c3a9002a
user: he <he%pkgsrc.org@localhost>
date: Sun Jul 24 20:33:49 2022 +0000
description:
net/isc-dhcpd4: add hacks.mk to use libatomic on powerpc.
Fixes build problem on NetBSD/macppc when the internal libdns is built.
diffstat:
net/isc-dhcpd4/hacks.mk | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r f775bd907188 -r f9a5c3a9002a net/isc-dhcpd4/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/isc-dhcpd4/hacks.mk Sun Jul 24 20:33:49 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2022/07/24 20:33:49 he Exp $
+
+.if !defined(NET_DHCPD4_HACKS_MK)
+NET_DHCPD4_HACKS_MK= defined
+
+# [Sun Jul 24 20:23:03 CEST 2022 : he]
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "NetBSD"
+PKG_HACKS+= powerpc-atomics
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # NET_DHCPD4_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index