Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/qbittorrent qbittorrent: needs 64-bit atomic ops



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ad7437900d6
branches:  trunk
changeset: 434228:8ad7437900d6
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jun 13 11:21:29 2020 +0000

description:
qbittorrent: needs 64-bit atomic ops

diffstat:

 net/qbittorrent/Makefile |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r adf3ba6bc524 -r 8ad7437900d6 net/qbittorrent/Makefile
--- a/net/qbittorrent/Makefile  Sat Jun 13 10:47:10 2020 +0000
+++ b/net/qbittorrent/Makefile  Sat Jun 13 11:21:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/06/02 08:24:35 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/06/13 11:21:29 nia Exp $
 
 DISTNAME=      qbittorrent-4.2.5
 PKGREVISION=   2
@@ -21,9 +21,14 @@
 
 GCC_REQD+=     6 # c++14
 
-LDFLAGS.NetBSD+=       -ljemalloc
+.include "../../mk/bsd.prefs.mk"
 
-.include "../../mk/bsd.prefs.mk"
+# 64 bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=             -march=i586
+.endif
+
+LDFLAGS.NetBSD+=       -ljemalloc
 
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
@@ -31,8 +36,8 @@
 .include "../../net/libtorrent-rasterbar/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.if ${OPSYS} == Darwin
-.include "../../x11/qt5-qtmacextras/buildlink3.mk"
+.if ${OPSYS} == "Darwin"
+.  include "../../x11/qt5-qtmacextras/buildlink3.mk"
 .endif
 .include "../../x11/qt5-qttools/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index