summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-lexer
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:14 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:40 +0200
commit1c8a57092e580f01df565288ff05918ee790b602 (patch)
tree38e37bb1c11ac8528d8aed7a42bf1f5b32f33932 /haskell/haskell-lexer
parent542f6fd7dbc1c84c410eefe6e614d27ef469187f (diff)
downloadslackbuilds-1c8a57092e580f01df565288ff05918ee790b602.tar.gz
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 a9c6ccc5ed..6b939d28f6 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