Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2019 19:12: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: r504807 - head/games/allacrost
Message-ID:  <201906211912.x5LJCinM039929@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906211912.x5LJCinM039929>