aboutsummaryrefslogtreecommitdiff
path: root/games/rejoystick/rejoystick.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/rejoystick/rejoystick.SlackBuild')
-rw-r--r--games/rejoystick/rejoystick.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild
index 828fbfc844413..8f00386fb75b1 100644
--- a/games/rejoystick/rejoystick.SlackBuild
+++ b/games/rejoystick/rejoystick.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=rejoystick
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -53,6 +53,10 @@ 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
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \