diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2020-06-17 13:38:14 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2020-06-17 13:38:14 +0000 |
commit | 939016982c5252d75c13f904279e187fe371b83c (patch) | |
tree | 89f0f6ff014142bc42d22d1f6ab9b0eaa1037e6e | |
parent | ec6534299272398382b9ef7a568fa8dc352b1827 (diff) | |
download | pkgsrc-939016982c5252d75c13f904279e187fe371b83c.tar.gz |
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
-rw-r--r-- | net/qbittorrent/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/net/qbittorrent/Makefile b/net/qbittorrent/Makefile index 81f5d31a72d..9135badaf02 100644 --- a/net/qbittorrent/Makefile +++ b/net/qbittorrent/Makefile @@ -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,11 +16,17 @@ USE_CMAKE= yes 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 + +.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" |