Source-Changes-HG archive

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

[pkgsrc/pkgsrc-2020Q1]: pkgsrc/net/qbittorrent Pullup ticket #6239 - requeste...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b265340e481
branches:  pkgsrc-2020Q1
changeset: 434497:5b265340e481
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Jun 17 13:38:14 2020 +0000

description:
Pullup ticket #6239 - requested by nia
net/qbittorrent: i386 build fix

Revisions pulled up:
- net/qbittorrent/Makefile                                      1.14

---
   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

diffstat:

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

diffs (29 lines):

diff -r 8f48bc09d71d -r 5b265340e481 net/qbittorrent/Makefile
--- a/net/qbittorrent/Makefile  Wed Jun 17 11:55:08 2020 +0000
+++ b/net/qbittorrent/Makefile  Wed Jun 17 13:38:14 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/03/10 22:10:47 wiz Exp $
+# $NetBSD: Makefile,v 1.6.2.1 2020/06/17 13:38:14 bsiegert Exp $
 
 DISTNAME=      qbittorrent-4.2.1
 PKGREVISION=   4
@@ -16,10 +16,16 @@
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-# C++11
-GCC_REQD+=     4.7
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
+
+GCC_REQD+=     6 # c++14
 
-CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
+.include "../../mk/bsd.prefs.mk"
+
+# 64 bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=             -march=i586
+.endif
 
 LDFLAGS.NetBSD+=       -ljemalloc
 



Home | Main Index | Thread Index | Old Index