diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile index 4ce95cfc213f..3c90a61fcaed 100644 --- a/games/fishsupper/Makefile +++ b/games/fishsupper/Makefile @@ -1,43 +1,45 @@ PORTNAME= fishsupper PORTVERSION= 0.1.6 PORTREVISION= 21 CATEGORIES= games MASTER_SITES= https://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Guide a cat across a series of rivers, jumping from log to log WWW= https://sourceforge.net/projects/fishsupper/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs GNU_CONFIGURE= yes USES= gl gmake localbase:ldflags sdl USE_SDL= sdl image mixer USE_GL= gl -USE_CXXSTD= c++98 +USE_CXXSTD= c++14 # unbreaks build together with 2 warning waivers below +CXXFLAGS+= -Wno-static-float-init \ + -Wno-c++11-narrowing PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Fish Supper" \ "Guide a cat across a series of rivers, jumping from log to log" \ "${DATADIR}/images/fs_image_30.png" \ "fishsupper" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp @${REINPLACE_CMD} -e '/tr1\/memory/ d' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include