summaryrefslogtreecommitdiff
path: root/games/rejoystick
diff options
context:
space:
mode:
Diffstat (limited to 'games/rejoystick')
-rw-r--r--games/rejoystick/rejoystick.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild
index 8f00386fb7..841813cda5 100644
--- a/games/rejoystick/rejoystick.SlackBuild
+++ b/games/rejoystick/rejoystick.SlackBuild
@@ -53,9 +53,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# We source ourself version.mk
-sed -i "s|^\.\ version\.mk||" configure
-. $CWD/$PRGNAM-$VERSION/version.mk
+# Specify the path to the version.mk file inside of the configure script
+sed -i "s|^\.\ version\.mk|. ./version.mk|" configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \