pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/freeradius Use devel/libatomic on powerpc so that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52f7ff374a04
branches:  trunk
changeset: 439074:52f7ff374a04
user:      he <he%pkgsrc.org@localhost>
date:      Sun Sep 13 18:56:29 2020 +0000

description:
Use devel/libatomic on powerpc so that this package builds.

diffstat:

 net/freeradius/hacks.mk |  14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r c2f4f2dbb4a5 -r 52f7ff374a04 net/freeradius/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius/hacks.mk   Sun Sep 13 18:56:29 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/13 18:56:29 he Exp $
+
+.if !defined(FREERADIUS_HACKS_MK)
+FREERADIUS_HACKS_MK=   defined
+
+# [Mon Sep  7 20:40:36 CEST 2020 : he]
+# On NetBSD/powerpc, we don't have native 8-byte atomics,
+# but this package insists on using them, so here we need libatomic.
+.if ${MACHINE_ARCH} == "powerpc"
+PKG_HACKS+=     powerpc-libatomic
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # FREERADIUS_HACKS_MK



Home | Main Index | Thread Index | Old Index