24eb420373
to version 0.7.9. Changes since 0.11.8 respectively 0.7.8: - Improved detection of unnecessary handshakes to decrease the load when using PEX. - Limit the number of PEX connections to 8 per download. - Fixed several bugs in PEX. - Fixed several sigc++ 2.1 compile errors. - Print to the log when close_on_diskspace gets triggered. This is not a stable version. The update was however necessary after the premature update of the "libsigc++" package which broke the build of these packages.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2007/11/23 09:49:04 tron Exp $
|
|
|
|
DISTNAME= libtorrent-0.11.9
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${HOMEPAGE:=downloads/}
|
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
HOMEPAGE= http://libtorrent.rakshasa.no/
|
|
COMMENT= BitTorrent library written in C++ for *nix
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
GCC_REQD+= 3.3
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
# See http://libtorrent.rakshasa.no/ticket/96
|
|
.if !empty(CC_VERSION:Mgcc-4.*)
|
|
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
|
|
-fno-inline -fforce-addr
|
|
.endif
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc)
|
|
OPENSSL_CFLAGS= -I${BUILDLINK_PREFIX.openssl}/include
|
|
OPENSSL_LIBS= -L${BUILDLINK_PREFIX.openssl}/lib \
|
|
-W,-lR${BUILDLINK_PREFIX.openssl}/lib
|
|
|
|
CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
|
|
CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LIBS:Q}
|
|
.endif
|
|
|
|
.include "../../devel/libsigc++/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|