aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-lexer
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:14 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:40 +0700
commit1c8a57092e580f01df565288ff05918ee790b602 (patch)
tree38e37bb1c11ac8528d8aed7a42bf1f5b32f33932 /haskell/haskell-lexer
parent542f6fd7dbc1c84c410eefe6e614d27ef469187f (diff)
haskell/haskell-lexer: 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-lexer')
-rw-r--r--haskell/haskell-lexer/haskell-lexer.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-lexer/haskell-lexer.SlackBuild b/haskell/haskell-lexer/haskell-lexer.SlackBuild
index a9c6ccc5ede6..6b939d28f66a 100644
--- a/haskell/haskell-lexer/haskell-lexer.SlackBuild
+++ b/haskell/haskell-lexer/haskell-lexer.SlackBuild
@@ -91,7 +91,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