summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-ghc-paths
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:25 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commitaee4a59fc9d699a11670e04df6c23b7e7dc0f265 (patch)
tree88c6a8f040f56dbad8d0ef5cfec135ba0de33c5d /haskell/haskell-ghc-paths
parent9e0e183b16ca9307cccb4122b71b469e3f10a5d6 (diff)
downloadslackbuilds-aee4a59fc9d699a11670e04df6c23b7e7dc0f265.tar.gz
slackbuilds-aee4a59fc9d699a11670e04df6c23b7e7dc0f265.tar.xz
haskell/haskell-ghc-paths: 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/haskell-ghc-paths')
-rw-r--r--haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild
index ec6e8f37e7..f5ff17ea81 100644
--- a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild
+++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild
@@ -90,7 +90,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