From 17494851662036f99086e0b63b2c4f3fb43adf2d Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 26 Oct 2018 11:00:13 +0100 Subject: haskell/haskell-regex-tdfa: Updated for version 1.2.3.1. Signed-off-by: David Spencer --- haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild') diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild index f2cbee10c49b..07dacbc50b85 100644 --- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild +++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild @@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,9 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGELOG.md LICENSE \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3