Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 15:44:21 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490272 - head/games/stockfish
Message-ID:  <201901141544.x0EFiLkc029867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@anongoth.pl>
  Approved by:	maintainer timeout (execve@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



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