svn commit: r480017 - head/games/linwarrior
Mark Linimon
linimon at FreeBSD.org
Tue Sep 18 12:24:30 UTC 2018
Author: linimon
Date: Tue Sep 18 12:24:29 2018
New Revision: 480017
URL: https://svnweb.freebsd.org/changeset/ports/480017
Log:
Fix problem with clang-specific flags being invoked on gcc-bases
archs (e.g. powerpc64.)
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Modified:
head/games/linwarrior/Makefile
Modified: head/games/linwarrior/Makefile
==============================================================================
--- head/games/linwarrior/Makefile Tue Sep 18 12:18:24 2018 (r480016)
+++ head/games/linwarrior/Makefile Tue Sep 18 12:24:29 2018 (r480017)
@@ -12,12 +12,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Navigate a mech through a 3D world and fire at enemies
-USES= gmake openal:al,alut
+USES= compiler gmake openal:al,alut
USE_GL= gl glu
USE_SDL= sdl
-
-CFLAGS+= -Wno-c++11-narrowing
LLD_UNSAFE= yes
+
+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang= -Wno-c++11-narrowing
WRKSRC= ${WRKDIR}/${PORTNAME}
More information about the svn-ports-head
mailing list