From 7cc20df59a77c1e789c1a5a80a3e1380d799abf1 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 23 Sep 2012 17:34:31 +0200 Subject: games/rejoystick: Fixed sourcing of the version.mk file. Signed-off-by: Matteo Bernardini --- games/rejoystick/rejoystick.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/rejoystick') 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 \ -- cgit v1.2.3