summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-pipes
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:36 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:18 +0200
commita9c80d5bdceb9492b2cf99045d234d39a6a1572f (patch)
tree261484d11e16e9184020483951bbd7cd2db3aaa7 /haskell/haskell-pipes
parentcdeb9762c7ba1f210f828b0a9acb526e427f1822 (diff)
downloadslackbuilds-a9c80d5bdceb9492b2cf99045d234d39a6a1572f.tar.gz
haskell/haskell-pipes: 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-pipes')
-rw-r--r--haskell/haskell-pipes/haskell-pipes.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-pipes/haskell-pipes.SlackBuild b/haskell/haskell-pipes/haskell-pipes.SlackBuild
index b602e89a18..8f3bab30a6 100644
--- a/haskell/haskell-pipes/haskell-pipes.SlackBuild
+++ b/haskell/haskell-pipes/haskell-pipes.SlackBuild
@@ -92,7 +92,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