From owner-svn-ports-head@freebsd.org Fri Jun 22 13:00:05 2018 Return-Path: Delivered-To: svn-ports-head@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 14FC0101AE0F; Fri, 22 Jun 2018 13:00:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB46A8F564; Fri, 22 Jun 2018 13:00:04 +0000 (UTC) (envelope-from amdmi3@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 97F5620F40; Fri, 22 Jun 2018 13:00:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5MD04FM042082; Fri, 22 Jun 2018 13:00:04 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5MD04DU042081; Fri, 22 Jun 2018 13:00:04 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806221300.w5MD04DU042081@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 22 Jun 2018 13:00:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473037 - head/games/blackshadeselite X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/games/blackshadeselite X-SVN-Commit-Revision: 473037 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 13:00:05 -0000 Author: amdmi3 Date: Fri Jun 22 13:00:04 2018 New Revision: 473037 URL: https://svnweb.freebsd.org/changeset/ports/473037 Log: - Fix build with clang 6 - Clarify GL dependency - Switch to options helpers Modified: head/games/blackshadeselite/Makefile Modified: head/games/blackshadeselite/Makefile ============================================================================== --- head/games/blackshadeselite/Makefile Fri Jun 22 12:14:20 2018 (r473036) +++ head/games/blackshadeselite/Makefile Fri Jun 22 13:00:04 2018 (r473037) @@ -18,10 +18,12 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis USES= tar:bzip2 gmake openal:al,alut USE_SDL= sdl -USE_GL= yes +USE_GL= gl glu MAKE_ARGS= CC="${CC}" CXX="${CXX}" +CXXFLAGS+= -Wno-c++11-narrowing + WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/blackshades @@ -40,8 +42,10 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${STAGEDIR}${PREFIX}/bin/ - cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor