=================================================================== RCS file: /cvs/ports/games/vcmi/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/games/vcmi/Attic/Makefile 2011/11/13 21:44:30 1.1 +++ ports/games/vcmi/Attic/Makefile 2013/06/12 16:01:39 1.2 @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.1 2011/11/13 21:44:30 yason Exp $ +# $OpenBSD: Makefile,v 1.2 2013/06/12 16:01:39 kirby Exp $ VMEM_WARNING = Yes -#BROKEN = CGameHandler.cpp:5226: error: no matching function for call to 'CCreature::getRandomAmount(int ()()) const' +#BROKEN = /usr/local/lib/gcc/x86_64-unknown-openbsd5.3/4.6.4/../../../../include/c++/4.6.4/bits/stl_list.h:113:71: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = ILogTarget, _Dp = std::default_delete, std::unique_ptr<_Tp, _Dp> = std::unique_ptr]' +SHARED_ONLY = Yes COMMENT = rewrite of the HoMM3 engine -DISTNAME = vcmi-0.86 +DISTNAME = vcmi-0.93 SHARED_LIBS = vcmi 0.0 # 0.0 @@ -12,21 +13,20 @@ HOMEPAGE = http://forum.vcmi.eu/portal.php -#MAINTAINER = ??? +MAINTAINER = Kirill Bychkov # GPLv2 PERMIT_PACKAGE_CDROM = Yes -PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM =Yes -PERMIT_DISTFILES_FTP = Yes WANTLIB = c freetype m pthread sndio stdc++ usbhid z -MASTER_SITES = http://www.linklevel.net/distfiles/ +MASTER_SITES = http://download.vcmi.eu/ -#MODULES = ??? +MODULES = devel/cmake gcc4 +MODGCC4_ARCHS = * +MODGCC4_LANGS += c++ #BUILD_DEPENDS = ??? -#RUN_DEPENDS = ??? +RUN_DEPENDS = devel/desktop-file-utils LIB_DEPENDS = audio/libvorbis \ devel/boost \ devel/sdl-image \ @@ -37,23 +37,19 @@ graphics/png \ multimedia/libtheora -USE_GMAKE = Yes -USE_LIBTOOL = gnu -CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += --disable-debug \ - --with-boost-iostreams=mt \ - --with-boost-filesystem=mt \ - --with-boost-thread=mt \ - --with-boost-system=mt \ - ${CONFIGURE_SHARED} -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" +#USE_LIBTOOL = gnu +CONFIGURE_ARGS += -DCMAKE_CXX_FLAGS=-pthread +# --with-boost-iostreams=mt \ +# --with-boost-filesystem=mt \ +# --with-boost-thread=mt \ +# --with-boost-system=mt \ +# ${CONFIGURE_SHARED} +#CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ +# LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" -NO_REGRESS = Yes +NO_TEST = Yes #pre-patch: # @perl -i -pe 's/\r$$//' ${WRKSRC}/lib/Interprocess.h -pre-configure: - @perl -pi -e s'|-lpthread|-pthread|g' ${WRKSRC}/lib/Makefile.in .include