aboutsummaryrefslogtreecommitdiff
path: root/games/yae/yae.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/yae/yae.SlackBuild')
-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 60f492aa1b2e..cf183232e6d5 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" \