pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfilezilla libfilezilla: fix "i386" builds



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd6b6ce9f279
branches:  trunk
changeset: 409006:cd6b6ce9f279
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Jan 14 22:14:20 2020 +0000

description:
libfilezilla: fix "i386" builds

diffstat:

 net/libfilezilla/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r cea2c3beefaa -r cd6b6ce9f279 net/libfilezilla/Makefile
--- a/net/libfilezilla/Makefile Tue Jan 14 22:04:38 2020 +0000
+++ b/net/libfilezilla/Makefile Tue Jan 14 22:14:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/12/31 08:46:23 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2020/01/14 22:14:20 gutteridge Exp $
 
 DISTNAME=      libfilezilla-0.19.3
 CATEGORIES=    devel
@@ -21,6 +21,11 @@
 # for C++17
 GCC_REQD+=     7
 
+# As of 0.19, 64-bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=     -march=i586
+.endif
+
 BUILDLINK_API_DEPENDS.nettle+= nettle>=3.1
 .include "../../security/nettle/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.5.7



Home | Main Index | Thread Index | Old Index