diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-01-14 23:44:21 +0800 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-01-14 23:44:21 +0800 |
commit | 7fb5219c5f9bdd914f0348998fee26e17165c9ab (patch) | |
tree | 0dce8eab79cba12f8f9cbc9ff0114001cc85d6e2 /games | |
parent | e375fe5a48ec892d5fed0adc92d5fab53ecba0cd (diff) | |
download | freebsd-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/Makefile | 2 |
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 |