svn commit: r528426 - head/games/trenchbroom

Alexey Dokuchaev danfe at FreeBSD.org
Sat Mar 14 17:25:22 UTC 2020


Author: danfe
Date: Sat Mar 14 17:25:20 2020
New Revision: 528426
URL: https://svnweb.freebsd.org/changeset/ports/528426

Log:
  - Fix bogus return statements to unbreak the build against Clang 10
  - While here, add two missing USE_GL components per stage QA check
  
  Reported by:	pkg-fallout

Modified:
  head/games/trenchbroom/Makefile

Modified: head/games/trenchbroom/Makefile
==============================================================================
--- head/games/trenchbroom/Makefile	Sat Mar 14 17:20:01 2020	(r528425)
+++ head/games/trenchbroom/Makefile	Sat Mar 14 17:25:20 2020	(r528426)
@@ -19,7 +19,7 @@ GH_PROJECT=	TrenchBroom
 GH_TAGNAME=	ed46601
 
 USES=		cmake:insource compiler:c++11-lib gl gnome pkgconfig
-USE_GL=		glew
+USE_GL=		gl glew glu
 USE_WX=		3.0+
 CMAKE_ARGS=	-DAPP_BUILD_CHANNEL:STRING="Beta for ${OPSYS}/${ARCH}"
 INSTALLS_ICONS=	yes
@@ -35,6 +35,8 @@ post-patch:
 		${WRKSRC}/common/src/View/AppInfoPanel.cpp
 	@${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \
 		${WRKSRC}/common/src/IO/SystemPaths.cpp
+	@${REINPLACE_CMD} -e '/return m_.*Margin/s,(),,' \
+		${WRKSRC}/common/src/View/CellLayout.h
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/TrenchBroom ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-all mailing list