diff options
author | Matteo Bernardini | 2020-06-20 11:01:26 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-06-20 11:01:26 +0200 |
commit | 4763c5f8092b9a9edb2471bd83ae5d6935056245 (patch) | |
tree | 704bea10c1fd69bf1b603c44f81d0d1b4df89019 /games/uqm/uqm.SlackBuild | |
parent | 98dec0c0253801e4775e1c705f391e477db1a7e5 (diff) | |
download | slackbuilds-4763c5f8092b9a9edb2471bd83ae5d6935056245.tar.gz |
20200620.1 global branch merge.current-20200620.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/uqm/uqm.SlackBuild')
-rw-r--r-- | games/uqm/uqm.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild index 28c298ab39..e3fa4774e7 100644 --- a/games/uqm/uqm.SlackBuild +++ b/games/uqm/uqm.SlackBuild @@ -92,6 +92,12 @@ if [ ! -e $CWD/$PRGNAM-$CONTVER-content.uqm ]; then exit 1 fi +for d in src/uqm/comm/*/ ; do + ( cd $d + mv strings.h ustrings.h ) +done +find ./src/uqm/comm -type f -name '*.c' | xargs sed -i s/strings.h/ustrings.h/ +find ./src/uqm/comm -type f -name '*.h' | xargs sed -i s/STRINGS/USTRINGS/g build_config | sh build.sh uqm config sed -i -e "s/-O3/$SLKCFLAGS/" -e '/LDFLAGS/s,-lz,-lz -lm,' build.vars |