aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:01 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:32 +0700
commit2d30a40535e336737bb379117976bd29bc3ed3ac (patch)
tree6b7190615339caf1097dcf91c1f585e6f56ce1f2 /haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild
parent8485b4d0037ad0aadeef37bcfb59e3c94874e9ae (diff)
haskell/haskell-highlighting-kate: 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-highlighting-kate/haskell-highlighting-kate.SlackBuild')
-rw-r--r--haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild b/haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild
index 113a7194824d0..8bb077e3e4e53 100644
--- a/haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild
+++ b/haskell/haskell-highlighting-kate/haskell-highlighting-kate.SlackBuild
@@ -93,7 +93,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