Date: Fri, 28 Dec 2018 16:52:44 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488611 - head/games/apricots Message-ID: <201812281652.wBSGqiFE065127@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Dec 28 16:52:44 2018 New Revision: 488611 URL: https://svnweb.freebsd.org/changeset/ports/488611 Log: - Fix build with newer compilers in portable way, by specifying C++ standard - Switch to options helpers Modified: head/games/apricots/Makefile Modified: head/games/apricots/Makefile ============================================================================== --- head/games/apricots/Makefile Fri Dec 28 16:45:23 2018 (r488610) +++ head/games/apricots/Makefile Fri Dec 28 16:52:44 2018 (r488611) @@ -11,8 +11,9 @@ MASTER_SITES= http://www.fishies.org.uk/ \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fly a little plane around and shoot things and drop bombs -USES= compiler dos2unix +USES= dos2unix USE_SDL= sdl +USE_CXXSTD= c++98 DOS2UNIX_GLOB= *.cpp SUB_FILES= ${PORTNAME} @@ -22,9 +23,6 @@ PORTDOCS= * CPPFLAGS+= -DAP_PATH="\"${DATADIR}/\"" LLD_UNSAFE= yes -CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} -CXXFLAGS_clang= -Wno-c++11-narrowing - DESKTOP_ENTRIES="Apricots" \ "${COMMENT}" \ "" \ @@ -46,11 +44,13 @@ do-build: do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/apricots/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec - ${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} .for ext in wav shapes psf cfg ${INSTALL_DATA} ${WRKSRC}/apricots/*.${ext} ${STAGEDIR}${DATADIR} .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812281652.wBSGqiFE065127>