Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2019 16:31:11 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498288 - head/games/valyriatear
Message-ID:  <201904071631.x37GVB61034833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Apr  7 16:31:11 2019
New Revision: 498288
URL: https://svnweb.freebsd.org/changeset/ports/498288

Log:
  Fix build on GCC-based architectures by setting -Wno-reserved-user-defined-literal
  only for clang.
  
  While here, pet portlint (add 'gl' to USES).
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/games/valyriatear/Makefile

Modified: head/games/valyriatear/Makefile
==============================================================================
--- head/games/valyriatear/Makefile	Sun Apr  7 16:30:27 2019	(r498287)
+++ head/games/valyriatear/Makefile	Sun Apr  7 16:31:11 2019	(r498288)
@@ -23,7 +23,8 @@ GH_ACCOUNT=	Bertram25
 GH_PROJECT=	ValyriaTear
 GH_TAGNAME=	${PORTVERSION}-gcc5 # contains relevant tolua++ fixes
 
-USES=		alias cmake gettext-tools iconv lua:51 openal
+USES=		alias cmake compiler gettext-tools gl iconv lua:51 \
+		openal
 CMAKE_ARGS=	-DUSE_PCH_COMPILATION=OFF
 USE_SDL=	sdl image ttf
 USE_GL=		gl glu
@@ -31,7 +32,8 @@ USE_XORG=	x11 xext sm ice
 INSTALLS_ICONS=	yes
 LLD_UNSAFE=	yes
 
-CXXFLAGS+=	-Wno-reserved-user-defined-literal
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-reserved-user-defined-literal
 
 PORTDOCS=	*
 PORTDATA=	*



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