summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-crypto-pubkey-types
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:29 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:14 +0200
commit795fb2c3f7074a41643315c829c8ee7e1ebf287f (patch)
tree00de4ab952bf3ba9444116d3aeed9b8acdac8687 /haskell/haskell-crypto-pubkey-types
parente55f2f6223c1e0de6bbfc1f9e1b0279ac18f615f (diff)
downloadslackbuilds-795fb2c3f7074a41643315c829c8ee7e1ebf287f.tar.gz
haskell/haskell-crypto-pubkey-types: 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-crypto-pubkey-types')
-rw-r--r--haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.SlackBuild b/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.SlackBuild
index c6d8f4c6d6..5664f105d1 100644
--- a/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.SlackBuild
+++ b/haskell/haskell-crypto-pubkey-types/haskell-crypto-pubkey-types.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