svn commit: r504807 - head/games/allacrost

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jun 21 19:12:45 UTC 2019


Author: amdmi3
Date: Fri Jun 21 19:12:43 2019
New Revision: 504807
URL: https://svnweb.freebsd.org/changeset/ports/504807

Log:
  - Switch to more correct way of avoiding C++11 related build errors, by specifying older c++ standard

Modified:
  head/games/allacrost/Makefile

Modified: head/games/allacrost/Makefile
==============================================================================
--- head/games/allacrost/Makefile	Fri Jun 21 19:10:50 2019	(r504806)
+++ head/games/allacrost/Makefile	Fri Jun 21 19:12:43 2019	(r504807)
@@ -20,15 +20,15 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libboost_thread.so:devel/boost-libs
 
 GNU_CONFIGURE=	yes
-USES=		compiler:c++11-lang gettext gmake iconv jpeg lua:51 openal:al
+USES=		gettext gmake iconv jpeg localbase lua:51 openal:al
 USE_SDL=	sdl ttf net
 USE_GL=		gl glu
 USE_XORG=	x11
+USE_CXXSTD=	c++98
 
 CONFIGURE_ARGS=	--datadir=${DATADIR} --enable-editor=no
-CPPFLAGS+=	-I${LOCALBASE}/include -I${LUA_INCDIR}
-LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIBDIR}
-CXXFLAGS+=	-Wno-c++11-narrowing
+CPPFLAGS+=	-isystem${LUA_INCDIR}
+LDFLAGS+=	-L${LUA_LIBDIR}
 LLD_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}


More information about the svn-ports-all mailing list