summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:41 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:21 +0700
commit0d941b3002ad965e4bc5e2506d28b2f03b1d6933 (patch)
tree4e78d130b7c5e67e3779c7d05550f70b73c6555c /haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild
parent78ad2386d6ba461bcc491858d8ee3e5b66a80d39 (diff)
downloadslackbuilds-0d941b3002ad965e4bc5e2506d28b2f03b1d6933.tar.gz
slackbuilds-0d941b3002ad965e4bc5e2506d28b2f03b1d6933.tar.xz
haskell/haskell-cryptonite-conduit: 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-conduit/haskell-cryptonite-conduit.SlackBuild')
-rw-r--r--haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild b/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild
index 14f95a3fd2..32a6e9ae06 100644
--- a/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.SlackBuild
+++ b/haskell/haskell-cryptonite-conduit/haskell-cryptonite-conduit.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