games/bastet: Fix -current build.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-02-12 16:32:48 -05:00 committed by Willy Sudiarto Raharjo
parent 030c537b27
commit 1164548487

View file

@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20180212 bkw: fix build on -current.
# 20170301 bkw:
# - Add script license.
# - Use long-form github URL.
@ -71,6 +73,11 @@ sed -i 's/-ggdb//g' Makefile
# keep high-score file in a private dir
sed -i "s,/var/games,&/$PRGNAM," Config.cpp $PRGNAM.6
# Boost API is moving target, this is needed for -current and does
# no harm on 14.2:
sed -i '/# *include/s,tr1/tr1/\(unordered_set\),\1.hpp,' *.hpp
sed -i 's,std::tr1::,boost::,g' *.hpp *.cpp
make CXXFLAGS="$SLKCFLAGS"
# No 'make install', follow the INSTALL document more-or-less, except I