Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 13:00:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473037 - head/games/blackshadeselite
Message-ID:  <201806221300.w5MD04DU042081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806221300.w5MD04DU042081>