aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-cryptonite
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:52 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:27 +0700
commitec6a289202b0f28aef97a4e8a40ab4cf4dbaa266 (patch)
tree0f2613f06ad39883575ba0b331a98bdbad2d8254 /haskell/haskell-cryptonite
parentf275c323608e16d0880ee5196ba453d988a1bdbd (diff)
haskell/haskell-cryptonite: 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-cryptonite')
-rw-r--r--haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
index 2a09c303283a5..79bd9ccd99d21 100644
--- a/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
+++ b/haskell/haskell-cryptonite/haskell-cryptonite.SlackBuild
@@ -89,7 +89,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