pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/qbittorrent



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 13 11:21:29 UTC 2020

Modified Files:
        pkgsrc/net/qbittorrent: Makefile

Log Message:
qbittorrent: needs 64-bit atomic ops


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/qbittorrent/Makefile

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

Modified files:

Index: pkgsrc/net/qbittorrent/Makefile
diff -u pkgsrc/net/qbittorrent/Makefile:1.13 pkgsrc/net/qbittorrent/Makefile:1.14
--- pkgsrc/net/qbittorrent/Makefile:1.13        Tue Jun  2 08:24:35 2020
+++ pkgsrc/net/qbittorrent/Makefile     Sat Jun 13 11:21:29 2020
@@ -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,18 +21,23 @@ CMAKE_ARGS+=        -DCMAKE_BUILD_TYPE="Release
 
 GCC_REQD+=     6 # c++14
 
-LDFLAGS.NetBSD+=       -ljemalloc
-
 .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"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .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