summaryrefslogtreecommitdiff
path: root/haskell/haskell-Crypto
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
commit7b716959680c1b18eb717b0b040f7af150d5b49f (patch)
treebd225f4330e41beedb13fb0c0c64d7a525e9e1a4 /haskell/haskell-Crypto
parent5e6c7bb49cbb87ee286986a0fd2a408c0286e74a (diff)
downloadslackbuilds-7b716959680c1b18eb717b0b040f7af150d5b49f.tar.gz
haskell/haskell-Crypto: 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')
-rw-r--r--haskell/haskell-Crypto/haskell-Crypto.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-Crypto/haskell-Crypto.SlackBuild b/haskell/haskell-Crypto/haskell-Crypto.SlackBuild
index 9026dd3f81..ae63f6f2f0 100644
--- a/haskell/haskell-Crypto/haskell-Crypto.SlackBuild
+++ b/haskell/haskell-Crypto/haskell-Crypto.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