summaryrefslogtreecommitdiff
path: root/haskell/ghc/ghc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/ghc/ghc.SlackBuild')
-rw-r--r--haskell/ghc/ghc.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/haskell/ghc/ghc.SlackBuild b/haskell/ghc/ghc.SlackBuild
index 05d48a7a3a..4a722cfeb5 100644
--- a/haskell/ghc/ghc.SlackBuild
+++ b/haskell/ghc/ghc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ghc
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2012 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ghc
-VERSION=${VERSION:-7.0.3}
+VERSION=${VERSION:-7.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;