aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-cryptohash
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:29 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:14 +0700
commit439e806c0258d1eb60fd51204fcc9475a20464f3 (patch)
tree68bc82e0f588c9b01a7214983dd19aecfef1cb09 /haskell/haskell-cryptohash
parent795fb2c3f7074a41643315c829c8ee7e1ebf287f (diff)
haskell/haskell-cryptohash: 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-cryptohash')
-rw-r--r--haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild b/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild
index f53673658a2c0..0bb55e0e1f2ee 100644
--- a/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild
+++ b/haskell/haskell-cryptohash/haskell-cryptohash.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