aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-parser-combinators
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:45 +0700
commiteeba7a722ab5479df3683ac0ab4586886ce70965 (patch)
treea5d2690fde1acdd2947379dde91c72c87d911fe4 /haskell/haskell-parser-combinators
parent505502f312350ce6279910fc0f54053513fde421 (diff)
haskell/haskell-parser-combinators: 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-parser-combinators')
-rw-r--r--haskell/haskell-parser-combinators/haskell-parser-combinators.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-parser-combinators/haskell-parser-combinators.SlackBuild b/haskell/haskell-parser-combinators/haskell-parser-combinators.SlackBuild
index f3bca8023cb1..3dd2054f4aad 100644
--- a/haskell/haskell-parser-combinators/haskell-parser-combinators.SlackBuild
+++ b/haskell/haskell-parser-combinators/haskell-parser-combinators.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