From owner-svn-ports-branches@freebsd.org Thu Apr 4 17:42:30 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48A5E153C8AC; Thu, 4 Apr 2019 17:42:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4F6084C81; Thu, 4 Apr 2019 17:42:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A2844CD1; Thu, 4 Apr 2019 17:42:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x34HgT8q045098; Thu, 4 Apr 2019 17:42:29 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x34HgS0S045088; Thu, 4 Apr 2019 17:42:28 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201904041742.x34HgS0S045088@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Thu, 4 Apr 2019 17:42:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r497859 - in branches/2019Q2/games: billardgl brainparty einstein kobodeluxe nxengine pouetchess powder scourge X-SVN-Group: ports-branches X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in branches/2019Q2/games: billardgl brainparty einstein kobodeluxe nxengine pouetchess powder scourge X-SVN-Commit-Revision: 497859 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D4F6084C81 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.937,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 17:42:30 -0000 Author: linimon Date: Thu Apr 4 17:42:27 2019 New Revision: 497859 URL: https://svnweb.freebsd.org/changeset/ports/497859 Log: MFH: r497858 Conditionalize compiler flags that are specific to clang to fix errors of the following forms on GCC-based architectures: cc1plus: error: unrecognized command line option "-Wno-c++11-narrowing" cc1plus: error: unrecognized command line option "-Wno-reserved-user-defined-literal" cc1plus: warning: unrecognized command line option '-Wno-error-narrowing' Approved by: portmgr (tier-2 blanket) Modified: branches/2019Q2/games/billardgl/Makefile branches/2019Q2/games/brainparty/Makefile branches/2019Q2/games/einstein/Makefile branches/2019Q2/games/kobodeluxe/Makefile branches/2019Q2/games/nxengine/Makefile branches/2019Q2/games/pouetchess/Makefile branches/2019Q2/games/powder/Makefile branches/2019Q2/games/scourge/Makefile Directory Properties: branches/2019Q2/ (props changed) Modified: branches/2019Q2/games/billardgl/Makefile ============================================================================== --- branches/2019Q2/games/billardgl/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/billardgl/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -15,7 +15,7 @@ LICENSE= GPLv2 # from website WRKSRC_SUBDIR= src -USES= dos2unix +USES= compiler dos2unix DOS2UNIX_FILES= Makefile bmp.cpp USE_GL= gl glu glut USE_XORG= x11 xext xmu xi @@ -25,7 +25,8 @@ PORTDATA= * PLIST_FILES= bin/billardgl \ share/pixmaps/billardgl.bmp -CXXFLAGS+= -Wno-c++11-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing DESKTOP_ENTRIES="${PORTNAME}" \ "" \ Modified: branches/2019Q2/games/brainparty/Makefile ============================================================================== --- branches/2019Q2/games/brainparty/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/brainparty/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -15,11 +15,12 @@ COMMENT= Family-friendly set of 36 puzzle games LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake +USES= compiler gmake USE_SDL= sdl mixer ttf gfx image USE_GL= gl glu -CXXFLAGS+= -Wno-c++11-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/${PORTNAME} Modified: branches/2019Q2/games/einstein/Makefile ============================================================================== --- branches/2019Q2/games/einstein/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/einstein/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -16,10 +16,12 @@ LICENSE= GPLv2+ # (now dead) website mentions GPL LIB_DEPENDS= libfreetype.so:print/freetype2 +USES= compiler USE_SDL= sdl ttf mixer WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CXXFLAGS+= -Wno-c++11-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/einstein Modified: branches/2019Q2/games/kobodeluxe/Makefile ============================================================================== --- branches/2019Q2/games/kobodeluxe/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/kobodeluxe/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -12,12 +12,13 @@ DISTNAME= KoboDeluxe-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= SDL port of the scrolling game XKobo -USES= tar:bzip2 +USES= compiler tar:bzip2 USE_SDL= image sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --sharedstatedir=${SCOREDIR} --enable-oss -CXXFLAGS+= -Wno-reserved-user-defined-literal +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-reserved-user-defined-literal SCOREDIR= /var/games/${PORTNAME} Modified: branches/2019Q2/games/nxengine/Makefile ============================================================================== --- branches/2019Q2/games/nxengine/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/nxengine/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -29,7 +29,8 @@ USES= cmake compiler:c++11-lang USE_SDL= mixer2 sdl2 SUB_FILES= ${PORTNAME} -CXXFLAGS+= -Wno-error-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-error-narrowing USE_GITHUB= yes GH_PROJECT= ${PORTNAME}-evo Modified: branches/2019Q2/games/pouetchess/Makefile ============================================================================== --- branches/2019Q2/games/pouetchess/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/pouetchess/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -12,12 +12,13 @@ COMMENT= Open-source 3D chess game LICENSE= GPLv2 # from sourceforge page -USES= dos2unix gmake +USES= compiler dos2unix gmake USE_SDL= sdl image USE_GL= gl glu DOS2UNIX_GLOB= *.cpp *.h Makefile config.ini -CXXFLAGS+= -Wno-reserved-user-defined-literal +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-reserved-user-defined-literal WRKSRC= ${WRKDIR}/pouetChess_0.11 Modified: branches/2019Q2/games/powder/Makefile ============================================================================== --- branches/2019Q2/games/powder/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/powder/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -12,13 +12,14 @@ DISTNAME= ${PORTNAME}${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical dungeon crawling game -USES= gmake +USES= compiler gmake USE_SDL= sdl MAKE_JOBS_UNSAFE=yes BUILD_WRKSRC= ${WRKSRC}/port/linux -CXXFLAGS+= -Wno-c++11-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing PLIST_FILES= bin/powder PORTDOCS= README.TXT LICENSE.TXT CREDITS.TXT Modified: branches/2019Q2/games/scourge/Makefile ============================================================================== --- branches/2019Q2/games/scourge/Makefile Thu Apr 4 17:38:10 2019 (r497858) +++ branches/2019Q2/games/scourge/Makefile Thu Apr 4 17:42:27 2019 (r497859) @@ -15,12 +15,13 @@ COMMENT= Rogue-like game LIB_DEPENDS= libfreetype.so:print/freetype2 RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/config/scourge.cfg:games/scourge-data -USES= autoreconf gettext gmake localbase +USES= autoreconf compiler gettext gmake localbase GNU_CONFIGURE= yes USE_GL= gl USE_SDL= sdl image mixer net ttf -CXXFLAGS+= -Wno-c++11-narrowing +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing CONFIGURE_ARGS= --with-data-dir=${DATADIR}