File:
[cvs.NetBSD.org] /
pkgsrc /
net /
rtorrent /
Makefile
Revision
1.82:
download - view:
text,
annotated -
select for diffs
Fri May 22 10:56:31 2020 UTC (4 years, 6 months ago) by
adam
Branches:
MAIN
CVS tags:
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
HEAD
revbump after updating security/nettle
# $NetBSD: Makefile,v 1.82 2020/05/22 10:56:31 adam Exp $
DISTNAME= rtorrent-0.9.8
PKGREVISION= 6
CATEGORIES= net
MASTER_SITES= https://rtorrent.net/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rakshasa/rtorrent
COMMENT= Ncurses based torrent client with support for sessions
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_NCURSES= yes # chgat
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "x86_64"
GCC_REQD+= 4.1.3
.else
GCC_REQD+= 4.2.1
.endif
.include "../../mk/pthread.buildlink3.mk"
LDFLAGS+= ${PTHREAD_LDFLAGS}
.include "options.mk"
# See http://libtorrent.rakshasa.no/ticket/77
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.0.*)
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
.if !empty(CC_VERSION:Mgcc-*) && !empty(MACHINE_ARCH:Mi?86)
CXXFLAGS+= -march=i486
.endif
# for backtrace()
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
LIBS+= -lexecinfo
.endif
INSTALLATION_DIRS= share/examples/rtorrent
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${DESTDIR}${PREFIX}/share/examples/rtorrent
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libtorrent/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>