summaryrefslogtreecommitdiff
path: root/haskell/haskell-skylighting
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:55 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commite69dcaf59add13702893b225f003287e62cb8607 (patch)
treed29c62384846a8d88f7dcec8cec4ec26c128378d /haskell/haskell-skylighting
parent03907399962d9034afdb0e2058f1a9803ea8e62c (diff)
downloadslackbuilds-e69dcaf59add13702893b225f003287e62cb8607.tar.gz
haskell/haskell-skylighting: 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-skylighting')
-rw-r--r--haskell/haskell-skylighting/haskell-skylighting.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-skylighting/haskell-skylighting.SlackBuild b/haskell/haskell-skylighting/haskell-skylighting.SlackBuild
index bfafbb513c..7b6fa6de43 100644
--- a/haskell/haskell-skylighting/haskell-skylighting.SlackBuild
+++ b/haskell/haskell-skylighting/haskell-skylighting.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