summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 60f492aa1b..cf183232e6 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" \