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:   nia
Date:           Mon Nov 16 11:57:19 UTC 2020

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

Log Message:
freeradius: needs 64-bit atomics on i386 too


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/freeradius/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/freeradius/hacks.mk
diff -u pkgsrc/net/freeradius/hacks.mk:1.1 pkgsrc/net/freeradius/hacks.mk:1.2
--- pkgsrc/net/freeradius/hacks.mk:1.1  Sun Sep 13 18:56:29 2020
+++ pkgsrc/net/freeradius/hacks.mk      Mon Nov 16 11:57:19 2020
@@ -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 @@ PKG_HACKS+=     powerpc-libatomic
 .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