aboutsummaryrefslogtreecommitdiff
path: root/games/wop
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-06-10 18:08:53 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-06-10 18:08:53 +0000
commit51ea597dcb1d892681ad62e15f72a879336f163c (patch)
treeb1bfebf8e552f03360b1445580f3c6cee34887ca /games/wop
parent78a3efce3d08ac1141c7a5795221504bac63ccf7 (diff)
downloadports-51ea597dcb1d892681ad62e15f72a879336f163c.tar.gz
ports-51ea597dcb1d892681ad62e15f72a879336f163c.zip
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)
Notes
Notes: svn path=/head/; revision=503920
Diffstat (limited to 'games/wop')
-rw-r--r--games/wop/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/wop/Makefile b/games/wop/Makefile
index 65af38e3793e..9a38ac3349db 100644
--- a/games/wop/Makefile
+++ b/games/wop/Makefile
@@ -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" \