games/rejoystick: Fix sourcing of version.mk for real.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-25 09:47:05 +02:00 committed by Robby Workman
parent 4974e21134
commit 4e4f34dc47

View file

@ -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" \