Wed Jul 12 20:38:31 2023 UTC ()
transmission: Requires a C++17 compiler.


(nia)
diff -r1.16 -r1.17 pkgsrc/net/transmission/Makefile.common

cvs diff -r1.16 -r1.17 pkgsrc/net/transmission/Makefile.common (expand / switch to unified diff)

--- pkgsrc/net/transmission/Makefile.common 2023/04/27 05:43:12 1.16
+++ pkgsrc/net/transmission/Makefile.common 2023/07/12 20:38:31 1.17
@@ -1,34 +1,37 @@ @@ -1,34 +1,37 @@
1# $NetBSD: Makefile.common,v 1.16 2023/04/27 05:43:12 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.17 2023/07/12 20:38:31 nia Exp $
2# 2#
3# used by net/transmission-common/Makefile 3# used by net/transmission-common/Makefile
4# used by net/transmission-gtk/Makefile 4# used by net/transmission-gtk/Makefile
5# used by net/transmission-qt/Makefile 5# used by net/transmission-qt/Makefile
6# used by net/transmission/Makefile 6# used by net/transmission/Makefile
7 7
8VERSION= 4.0.3 8VERSION= 4.0.3
9DISTNAME= transmission-${VERSION} 9DISTNAME= transmission-${VERSION}
10CATEGORIES= net 10CATEGORIES= net
11MASTER_SITES= ${MASTER_SITE_GITHUB:=transmission/} 11MASTER_SITES= ${MASTER_SITE_GITHUB:=transmission/}
12EXTRACT_SUFX= .tar.xz 12EXTRACT_SUFX= .tar.xz
13GITHUB_RELEASE= ${PKGVERSION_NOREV} 13GITHUB_RELEASE= ${PKGVERSION_NOREV}
14GITHUB_PROJECT= transmission 14GITHUB_PROJECT= transmission
15 15
16MAINTAINER= wiz@NetBSD.org 16MAINTAINER= wiz@NetBSD.org
17HOMEPAGE= http://www.transmissionbt.com/ 17HOMEPAGE= http://www.transmissionbt.com/
18COMMENT?= Free, lightweight BitTorrent client 18COMMENT?= Free, lightweight BitTorrent client
19# optionally, gnu-gpl-v3 instead of gnu-gpl-v2 19# optionally, gnu-gpl-v3 instead of gnu-gpl-v2
20LICENSE= gnu-gpl-v2 AND mit 20LICENSE= gnu-gpl-v2 AND mit
21 21
 22# Requires a C++17 compiler.
 23GCC_REQD+= 7
 24
22USE_LANGUAGES= c c++ 25USE_LANGUAGES= c c++
23USE_LIBTOOL= yes 26USE_LIBTOOL= yes
24USE_TOOLS+= gmake pkg-config intltool msgfmt 27USE_TOOLS+= gmake pkg-config intltool msgfmt
25 28
26PATCHDIR= ${.CURDIR}/../../net/transmission/patches 29PATCHDIR= ${.CURDIR}/../../net/transmission/patches
27DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo 30DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo
28 31
29.include "../../mk/bsd.prefs.mk" 32.include "../../mk/bsd.prefs.mk"
30.if ${OPSYS} == "Darwin" 33.if ${OPSYS} == "Darwin"
31LDFLAGS+= -framework CoreFoundation 34LDFLAGS+= -framework CoreFoundation
32.endif 35.endif
33 36
34BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10 37BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10