pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/freeradius freeradius: needs 64-bit atomics on i38...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e40f1a81496
branches:  trunk
changeset: 441990:4e40f1a81496
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 16 11:57:19 2020 +0000

description:
freeradius: needs 64-bit atomics on i386 too

diffstat:

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

diffs (19 lines):

diff -r bc6f8589bdae -r 4e40f1a81496 net/freeradius/hacks.mk
--- a/net/freeradius/hacks.mk   Mon Nov 16 11:15:18 2020 +0000
+++ b/net/freeradius/hacks.mk   Mon Nov 16 11:57:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2020/09/13 18:56:29 he Exp $
+# $NetBSD: hacks.mk,v 1.2 2020/11/16 11:57:19 nia Exp $
 
 .if !defined(FREERADIUS_HACKS_MK)
 FREERADIUS_HACKS_MK=   defined
@@ -11,4 +11,9 @@
 .include "../../devel/libatomic/buildlink3.mk"
 .endif
 
+.if ${MACHINE_ARCH} == "i386"
+PKG_HACKS+=    i386-atomics
+CFLAGS+=       -march=i586
+.endif
+
 .endif # FREERADIUS_HACKS_MK



Home | Main Index | Thread Index | Old Index