Use devel/libatomic on powerpc so that this package builds.
This commit is contained in:
parent
351b5080d9
commit
e0d9c60d74
1 changed files with 14 additions and 0 deletions
14
net/freeradius/hacks.mk
Normal file
14
net/freeradius/hacks.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue