In file included from engine/net/scanner.cpp:1: In file included from engine/src/config.h:33: In file included from ./mrt/xml.h:23: /usr/include/c++/v1/map:629:15: error: object of type 'std::__1::pair<const mrt::Socket::addr, Scanner::Host>' cannot be assigned because its copy assignment operator is implicitly deleted {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1645:35: note: in instantiation of member function 'std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1575:9: note: in instantiation of function template specialization 'std::__1::__tree<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__map_value_compare<const mrt::Socket::addr, std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::less<const mrt::Socket::addr>, true>, std::__1::allocator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host> > >::__assign_multi<std::__1::__tree_const_iterator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__tree_node<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:912:21: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__map_value_compare<const mrt::Socket::addr, std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::less<const mrt::Socket::addr>, true>, std::__1::allocator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host> > >::operator=' requested here __tree_ = __m.__tree_; ^ engine/net/scanner.cpp:256:8: note: in instantiation of member function 'std::__1::map<const mrt::Socket::addr, Scanner::Host, std::__1::less<const mrt::Socket::addr>, std::__1::allocator<std::__1::pair<const mrt::Socket::addr, Scanner::Host> > >::operator=' requested here hosts = _hosts; ^ /usr/include/c++/v1/utility:325:5: note: copy assignment operator is implicitly deleted because 'pair<const mrt::Socket::addr, Scanner::Host>' has a user-declared move constructor pair(pair&&) = default; ^ Reported by: pkg-fallout
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= btanks
|
|
PORTVERSION= 0.9.8083
|
|
PORTREVISION= 9
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fast 2D tank arcade game with multiplayer and split-screen modes
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \
|
|
libexpat.so:textproc/expat2 \
|
|
libvorbisfile.so:audio/libvorbis \
|
|
libsmpeg.so:multimedia/smpeg
|
|
|
|
USES= openal:al pkgconfig lua:51 python:2.7,build scons tar:bzip2
|
|
USE_CXXSTD= gnu++98
|
|
USE_LDCONFIG= yes
|
|
USE_SDL= image sdl
|
|
MAKE_ARGS= prefix=${PREFIX} resources_dir=${DATADIR} \
|
|
--install-sandbox=${STAGEDIR}
|
|
CXXFLAGS+= -fpermissive
|
|
|
|
PORTDOCS= LICENSE LICENSE.EXCEPTION README-en.txt README-linux.txt \
|
|
donate.url homepage.url project_page.url video.txt
|
|
|
|
DESKTOP_ENTRIES="Battle Tanks" "" "" "${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
pre-build:
|
|
# Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself
|
|
# would have resulted in a larger diff and gratuitous difference with Debian)
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} engine/sl08/sl08.py > engine/sl08/sl08.h
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/engine/SConscript
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.6 \
|
|
${STAGEDIR}${MANPREFIX}/man/man6
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so \
|
|
${STAGEDIR}${PREFIX}/lib/btanks/*.so
|
|
|
|
.include <bsd.port.mk>
|