svn commit: r503920 - head/games/wop
Mark Linimon
linimon at FreeBSD.org
Mon Jun 10 18:08:54 UTC 2019
Author: linimon
Date: Mon Jun 10 18:08:53 2019
New Revision: 503920
URL: https://svnweb.freebsd.org/changeset/ports/503920
Log:
Restrict the usage of -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
to clang, which is the only compiler that understands them.
Approved by: portmgr (tier-2 blanket)
Modified:
head/games/wop/Makefile
Modified: head/games/wop/Makefile
==============================================================================
--- head/games/wop/Makefile Mon Jun 10 17:59:25 2019 (r503919)
+++ head/games/wop/Makefile Mon Jun 10 18:08:53 2019 (r503920)
@@ -18,12 +18,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= makedepend:devel/makedepend
-USES= tar:bzip2 gmake
+USES= compiler gmake tar:bzip2
USE_SDL= sdl net mixer ttf image
MAKE_JOBS_UNSAFE= yes
-CXXFLAGS+= -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
+CXXFLAGS_clang= -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
DATAVERSION= 2005-12-21
DESKTOP_ENTRIES="Worms of Prey" \
More information about the svn-ports-all
mailing list