svn commit: r504731 - head/games/billardgl

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jun 20 19:16:13 UTC 2019


Author: amdmi3
Date: Thu Jun 20 19:16:12 2019
New Revision: 504731
URL: https://svnweb.freebsd.org/changeset/ports/504731

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

Modified:
  head/games/billardgl/Makefile

Modified: head/games/billardgl/Makefile
==============================================================================
--- head/games/billardgl/Makefile	Thu Jun 20 19:10:18 2019	(r504730)
+++ head/games/billardgl/Makefile	Thu Jun 20 19:16:12 2019	(r504731)
@@ -15,18 +15,16 @@ LICENSE=	GPLv2 # from website
 
 WRKSRC_SUBDIR=	src
 
-USES=		compiler dos2unix
+USES=		dos2unix
 DOS2UNIX_FILES=	Makefile bmp.cpp
 USE_GL=		gl glu glut
 USE_XORG=	x11 xext xmu xi
+USE_CXXSTD=	c++98
 
 PORTDOCS=	README
 PORTDATA=	*
 PLIST_FILES=	bin/billardgl \
 		share/pixmaps/billardgl.bmp
-
-CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
-CXXFLAGS_clang=	-Wno-c++11-narrowing
 
 DESKTOP_ENTRIES="${PORTNAME}" \
 		"" \


More information about the svn-ports-all mailing list