summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-23 17:34:31 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:29 -0500
commit7cc20df59a77c1e789c1a5a80a3e1380d799abf1 (patch)
tree02e3edbe0bc0a0e2121c8f7cc7aab3271a39a3c7
parent127366a27e35677f3db1e7a96ec7f81d53a221a9 (diff)
downloadslackbuilds-7cc20df59a77c1e789c1a5a80a3e1380d799abf1.tar.gz
slackbuilds-7cc20df59a77c1e789c1a5a80a3e1380d799abf1.tar.xz
games/rejoystick: Fixed sourcing of the version.mk file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 828fbfc844..8f00386fb7 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 \