pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/freeradius



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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/freeradius/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/freeradius/hacks.mk
diff -u /dev/null pkgsrc/net/freeradius/hacks.mk:1.1
--- /dev/null   Sun Sep 13 18:56:29 2020
+++ pkgsrc/net/freeradius/hacks.mk      Sun Sep 13 18:56:29 2020
@@ -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