diff --git a/libraries/libxmi/libxmi.SlackBuild b/libraries/libxmi/libxmi.SlackBuild index d93aeeb94e..f42ca1e663 100644 --- a/libraries/libxmi/libxmi.SlackBuild +++ b/libraries/libxmi/libxmi.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libxmi VERSION=${VERSION:-1.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,8 +66,7 @@ chown -R root:root . chmod -R u+w,go+r-w,a-s . # Substitute newer automake files that know about x86_64 -# (as for SBo's soundtouch) -am=$(automake --version | grep "1." | cut -d " " -f 4 | cut -d "." -f 2) +am=$(automake --version | head -1 | cut -d " " -f 4 | cut -d "." -f 2) for i in config.guess config.sub depcomp install-sh missing; do rm -f $i ln -s /usr/share/automake-1.$am/$i $i