pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2020Q2]: pkgsrc/net/freeradius Pullup ticket #6324 - requested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1707169ad193
branches:  pkgsrc-2020Q2
changeset: 439358:1707169ad193
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Sep 18 18:23:39 2020 +0000

description:
Pullup ticket #6324 - requested by he
net/freeradius: PowerPC build fix

Revisions pulled up:
- net/freeradius/hacks.mk                                       1.1

---
   Module Name: pkgsrc
   Committed By:        he
   Date:                Sun Sep 13 18:56:29 UTC 2020

   Added Files:
        pkgsrc/net/freeradius: hacks.mk

   Log Message:
   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 e1f3e228a1b4 -r 1707169ad193 net/freeradius/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/freeradius/hacks.mk   Fri Sep 18 18:23:39 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:23:39 bsiegert 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