aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-11-22 06:02:53 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:26:17 +0700
commit39307645b09c18bec5d273b6e6a5d90c3f58f6be (patch)
tree4e0b80fc3971b35cb35ce150cf0bfc6360c204e0 /games
parent1fcbf40c1414cefb906b4ed73613b88884c36520 (diff)
games/yae: Fix compile issue.
Diffstat (limited to 'games')
-rw-r--r--games/yae/yae.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/yae/yae.SlackBuild b/games/yae/yae.SlackBuild
index 60f492aa1b2ee..cf183232e6d58 100644
--- a/games/yae/yae.SlackBuild
+++ b/games/yae/yae.SlackBuild
@@ -86,9 +86,12 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then
sed -i 's,unsigned *long,unsigned int,g' scanline*.c
fi
-# distributed configure script is too darn old
+# distributed configure script is too darn old. the file moved
+# between Slack 14.1 and 14.2, so:
rm -f config.sub config.guess configure
-cp /usr/share/libtool/config/config.sub .
+CONFSUB=/usr/share/libtool/config/config.sub
+[ -e "$CONFSUB" ] || CONFSUB=/usr/share/libtool/build-aux/config.sub
+cp $CONFSUB .
autoreconf -if
CFLAGS="$SLKCFLAGS" \