Files
rsadowski 676613ea6f Remove gcc3
Feedback sthen@, tweak and OK jca@
2025-10-24 14:25:34 +00:00

37 lines
819 B
Makefile

COMMENT= BitTorrent library written in C++
BROKEN-hppa = undefined references to __sync atomic ops
BROKEN-sh = undefined references to __sync atomic ops
DISTNAME= libtorrent-0.15.7
EPOCH= 0
SHARED_LIBS += torrent 23.0 # .18.0
CATEGORIES= net devel
HOMEPAGE= https://rakshasa.github.io/rtorrent/
# GPLv2+
PERMIT_PACKAGE= Yes
SITES= https://github.com/rakshasa/rtorrent-archive/raw/master/
WANTLIB += ${COMPILER_LIBCXX} crypto execinfo m z
COMPILER = base-clang ports-gcc base-gcc
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-debug \
--disable-instrumentation \
--disable-mincore \
--enable-static \
--with-kqueue \
--without-epoll
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# silence build log spam
CXXFLAGS += -Wno-deprecated-declarations \
-Wno-exceptions
.include <bsd.port.mk>