diff options
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 |