summaryrefslogtreecommitdiff
path: root/haskell/haskell-html/haskell-html.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:09 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:36 +0700
commit4a5e341c37dedef4f49b9f985b7ee967f653cd7c (patch)
tree1f8e80bfe72e55cbb12103eaa0799a9f2b37e16a /haskell/haskell-html/haskell-html.SlackBuild
parent7b716959680c1b18eb717b0b040f7af150d5b49f (diff)
downloadslackbuilds-4a5e341c37dedef4f49b9f985b7ee967f653cd7c.tar.gz
haskell/haskell-html: 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-html/haskell-html.SlackBuild')
-rw-r--r--haskell/haskell-html/haskell-html.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-html/haskell-html.SlackBuild b/haskell/haskell-html/haskell-html.SlackBuild
index a32c5bd609..5ab6861485 100644
--- a/haskell/haskell-html/haskell-html.SlackBuild
+++ b/haskell/haskell-html/haskell-html.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