svn commit: r490272 - head/games/stockfish

Steve Wills swills at FreeBSD.org
Mon Jan 14 15:44:22 UTC 2019


Author: swills
Date: Mon Jan 14 15:44:21 2019
New Revision: 490272
URL: https://svnweb.freebsd.org/changeset/ports/490272

Log:
  games/stockfish: fix build with GCC-based architectures
  
  PR:		234410
  Submitted by:	Piotr Kubaj <pkubaj at anongoth.pl>
  Approved by:	maintainer timeout (execve at gmail.com, >2 weeks)

Modified:
  head/games/stockfish/Makefile   (contents, props changed)

Modified: head/games/stockfish/Makefile
==============================================================================
--- head/games/stockfish/Makefile	Mon Jan 14 15:39:35 2019	(r490271)
+++ head/games/stockfish/Makefile	Mon Jan 14 15:44:21 2019	(r490272)
@@ -61,6 +61,8 @@ ALL_TARGET=	${TGTBLD} ARCH=${MYARCH} COMP=${MYCC}
 
 post-patch:
 	@${REINPLACE_CMD} -e "s/^PREFIX =/PREFIX ?=/" ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e "s/CXX=g++/CXX=g++${GCC_DEFAULT}/" \
+		${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-head mailing list