summaryrefslogtreecommitdiffstats
path: root/haskell/ghc/ghc.SlackBuild
diff options
context:
space:
mode:
author Mikko Värri2011-06-18 07:52:56 +0200
committer Robby Workman2011-06-18 07:52:56 +0200
commit23123e447f53342dc14a0fdfe89fe011ad18d02e (patch)
treeda4c2feaa66165b2ca3c549253d9c0cc99250b99 /haskell/ghc/ghc.SlackBuild
parent43d2e4819969060f9a2dbd5dcd081b84a3356158 (diff)
downloadslackbuilds-23123e447f53342dc14a0fdfe89fe011ad18d02e.tar.gz
haskell/ghc: Updated for version 7.0.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'haskell/ghc/ghc.SlackBuild')
-rw-r--r--haskell/ghc/ghc.SlackBuild19
1 files changed, 1 insertions, 18 deletions
diff --git a/haskell/ghc/ghc.SlackBuild b/haskell/ghc/ghc.SlackBuild
index 8d4f600d77..bfbf069011 100644
--- a/haskell/ghc/ghc.SlackBuild
+++ b/haskell/ghc/ghc.SlackBuild
@@ -6,7 +6,7 @@
# Public domain.
PRGNAM=ghc
-VERSION=${VERSION:-7.0.1}
+VERSION=${VERSION:-7.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,23 +55,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ "$TARARCH" = "i386" ] ; then
- # In i386 binary distribution, the prebuilt binaries used to install GHC
- # are linked against libffi.so.5, but slackware ships with libffi.so.4
- # (in d/gcc-java).
- # Luckily, GHC includes its own copy of libffi. It's only under different
- # name (to avoid conflicts with system libffi).
- # For the duration of the "configure && make install", let's copy the
- # bundled libffi to expected name.
- cp libffi/dist-install/build/libHSffi-ghc${VERSION}.so libffi/libffi.so.5
- if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
- LD_LIBRARY_PATH=$TMP/$PRGNAM-$VERSION/libffi/
- else
- LD_LIBRARY_PATH=$TMP/$PRGNAM-$VERSION/libffi/:$LD_LIBRARY_PATH
- fi
- export LD_LIBRARY_PATH
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \