aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-syb
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:56 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commitb2a776ed83f7e567b500c86bcdc92e4015cb2ec5 (patch)
tree5cda8e9d7d37d4884b527cc8ea51967434719a6d /haskell/haskell-syb
parent95c2a2cfdbe58bcf57796c9eb9bcced952e3c62c (diff)
haskell/haskell-syb: 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-syb')
-rw-r--r--haskell/haskell-syb/haskell-syb.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-syb/haskell-syb.SlackBuild b/haskell/haskell-syb/haskell-syb.SlackBuild
index e16cc52fae564..5ff94f7386159 100644
--- a/haskell/haskell-syb/haskell-syb.SlackBuild
+++ b/haskell/haskell-syb/haskell-syb.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