pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/isc-dhcp4



Module Name:    pkgsrc
Committed By:   he
Date:           Sun Jul 24 19:52:41 UTC 2022

Added Files:
        pkgsrc/net/isc-dhcp4: hacks.mk

Log Message:
net/isc-dhcp4: add hacks.mk to use libatomic on powerpc.

Fixes build problem on NetBSD/macppc when the internal libdns is built.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/isc-dhcp4/hacks.mk

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

Added files:

Index: pkgsrc/net/isc-dhcp4/hacks.mk
diff -u /dev/null pkgsrc/net/isc-dhcp4/hacks.mk:1.1
--- /dev/null   Sun Jul 24 19:52:41 2022
+++ pkgsrc/net/isc-dhcp4/hacks.mk       Sun Jul 24 19:52:41 2022
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2022/07/24 19:52:41 he Exp $
+
+.if !defined(NET_DHCP4_HACKS_MK)
+NET_DHCP4__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_DHCP4_HACKS_MK



Home | Main Index | Thread Index | Old Index