aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-fail/haskell-fail.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-fail/haskell-fail.SlackBuild')
-rw-r--r--haskell/haskell-fail/haskell-fail.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/haskell/haskell-fail/haskell-fail.SlackBuild b/haskell/haskell-fail/haskell-fail.SlackBuild
index 991e8d9b2300..7531a59836dd 100644
--- a/haskell/haskell-fail/haskell-fail.SlackBuild
+++ b/haskell/haskell-fail/haskell-fail.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"
@@ -84,7 +84,6 @@ runghc Setup configure \
--docdir=/usr/doc/$PRGNAM-$VERSION
runghc Setup build
-runghc Setup haddock
runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
@@ -97,9 +96,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 \
- LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install