diff options
Diffstat (limited to 'haskell')
-rw-r--r-- | haskell/haskell-old-time/haskell-old-time.SlackBuild | 13 | ||||
-rw-r--r-- | haskell/haskell-old-time/haskell-old-time.info | 4 |
2 files changed, 9 insertions, 8 deletions
diff --git a/haskell/haskell-old-time/haskell-old-time.SlackBuild b/haskell/haskell-old-time/haskell-old-time.SlackBuild index 14ac6694b9..766e6f4365 100644 --- a/haskell/haskell-old-time/haskell-old-time.SlackBuild +++ b/haskell/haskell-old-time/haskell-old-time.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" @@ -73,6 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Remove bogus upper version constraint on base +sed -i -E 's/(base *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ @@ -97,9 +100,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 diff --git a/haskell/haskell-old-time/haskell-old-time.info b/haskell/haskell-old-time/haskell-old-time.info index b63fd0d7e4..27fa45eb3e 100644 --- a/haskell/haskell-old-time/haskell-old-time.info +++ b/haskell/haskell-old-time/haskell-old-time.info @@ -1,7 +1,7 @@ PRGNAM="haskell-old-time" VERSION="1.1.0.3" -HOMEPAGE="http://hackage.haskell.org/package/old-time" -DOWNLOAD="http://hackage.haskell.org/package/old-time-1.1.0.3/old-time-1.1.0.3.tar.gz" +HOMEPAGE="https://hackage.haskell.org/package/old-time" +DOWNLOAD="https://hackage.haskell.org/package/old-time-1.1.0.3/old-time-1.1.0.3.tar.gz" MD5SUM="1868eaf39e616176d898bcd5510e1f09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |