aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-pipes
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:36 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:18 +0700
commita9c80d5bdceb9492b2cf99045d234d39a6a1572f (patch)
tree261484d11e16e9184020483951bbd7cd2db3aaa7 /haskell/haskell-pipes
parentcdeb9762c7ba1f210f828b0a9acb526e427f1822 (diff)
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 b602e89a18d41..8f3bab30a6e35 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