summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-parser-combinators
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:24 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:45 +0200
commiteeba7a722ab5479df3683ac0ab4586886ce70965 (patch)
treea5d2690fde1acdd2947379dde91c72c87d911fe4 /haskell/haskell-parser-combinators
parent505502f312350ce6279910fc0f54053513fde421 (diff)
downloadslackbuilds-eeba7a722ab5479df3683ac0ab4586886ce70965.tar.gz
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 f3bca8023c..3dd2054f4a 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