aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-01-14 23:44:21 +0800
committerSteve Wills <swills@FreeBSD.org>2019-01-14 23:44:21 +0800
commit7fb5219c5f9bdd914f0348998fee26e17165c9ab (patch)
tree0dce8eab79cba12f8f9cbc9ff0114001cc85d6e2 /games
parente375fe5a48ec892d5fed0adc92d5fab53ecba0cd (diff)
downloadfreebsd-ports-gnome-7fb5219c5f9bdd914f0348998fee26e17165c9ab.tar.gz
freebsd-ports-gnome-7fb5219c5f9bdd914f0348998fee26e17165c9ab.tar.zst
freebsd-ports-gnome-7fb5219c5f9bdd914f0348998fee26e17165c9ab.zip
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)
Diffstat (limited to 'games')
-rw-r--r--games/stockfish/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/stockfish/Makefile b/games/stockfish/Makefile
index 215b9253780d..bc72bf93e5a8 100644
--- a/games/stockfish/Makefile
+++ b/games/stockfish/Makefile
@@ -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