summaryrefslogtreecommitdiff
path: root/net/libtorrent-rasterbar
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-03-12 09:24:36 +0000
committernia <nia@pkgsrc.org>2021-03-12 09:24:36 +0000
commit86231e5d25d4fb741cfb5f4a33a25cf026c020a3 (patch)
tree64d8c7b5b000cc3356973d07f26aaf4968fa35bc /net/libtorrent-rasterbar
parent1100fc04207aa02216d1bdfe15b85e5412d7b1ff (diff)
downloadpkgsrc-86231e5d25d4fb741cfb5f4a33a25cf026c020a3.tar.gz
libtorrent-rasterbar: Pass gnu++14 through wrappers instead of c++14
While it doesn't specify a -std= argument by default (which is a bug), it needs C++14 but also uses alloca(), which is not properly defined on NetBSD unless GNU extensions are enabled. this should help building this package on aarch64.
Diffstat (limited to 'net/libtorrent-rasterbar')
-rw-r--r--net/libtorrent-rasterbar/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libtorrent-rasterbar/Makefile b/net/libtorrent-rasterbar/Makefile
index edbebcd6f10..66b442828a6 100644
--- a/net/libtorrent-rasterbar/Makefile
+++ b/net/libtorrent-rasterbar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2021/01/06 14:25:53 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/03/12 09:24:36 nia Exp $
DISTNAME= libtorrent-rasterbar-1.2.12
CATEGORIES= net
@@ -12,7 +12,7 @@ COMMENT= Feature complete C++ bittorrent implementation
LICENSE= modified-bsd
USE_CMAKE= yes
-USE_LANGUAGES= c c++14
+USE_LANGUAGES= c gnu++14
USE_TOOLS+= pkg-config
GCC_REQD+= 6 # c++14