aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-crypto-pubkey
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:40 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:21 +0700
commit78ad2386d6ba461bcc491858d8ee3e5b66a80d39 (patch)
tree1589403fd78ea283f18fbaa942c3dead016f4046 /haskell/haskell-crypto-pubkey
parent587f8320afdc3e5a42d25c5ab94ad25418450063 (diff)
haskell/haskell-crypto-pubkey: 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')
-rw-r--r--haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.SlackBuild b/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.SlackBuild
index ce633f9496496..8321b2b99a43d 100644
--- a/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.SlackBuild
+++ b/haskell/haskell-crypto-pubkey/haskell-crypto-pubkey.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