summaryrefslogtreecommitdiff
path: root/games/arnold-cpc
diff options
context:
space:
mode:
Diffstat (limited to 'games/arnold-cpc')
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild
index 15c4bd035c..dc4d8e21a7 100644
--- a/games/arnold-cpc/arnold-cpc.SlackBuild
+++ b/games/arnold-cpc/arnold-cpc.SlackBuild
@@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCDIR
tar xvf $CWD/$SRCNAM-$SRCVER.tar.bz2
-cd $SRCDIR/src # enter source code
+cd $SRCDIR
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,6 +72,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+cd src
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \