mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/bastet: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
030c537b27
commit
1164548487
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue