aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:54 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:28 +0700
commita07d547b987b1c1dc79bf9d3d7c7d8ddc653ad8e (patch)
tree9d490bbc08882561156d6eb9b95761662804441c /haskell
parent6c47a09ec464b8ae4f7bfb52a0c4a56466f3dbf2 (diff)
haskell/haskell-fixed: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-fixed/haskell-fixed.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-fixed/haskell-fixed.SlackBuild b/haskell/haskell-fixed/haskell-fixed.SlackBuild
index 004ce9a3d15e4..c36a87fb6935b 100644
--- a/haskell/haskell-fixed/haskell-fixed.SlackBuild
+++ b/haskell/haskell-fixed/haskell-fixed.SlackBuild
@@ -89,7 +89,7 @@ runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf