aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:44 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:23 +0700
commitd788827401b390eae9a566737ae0bc6e40f7a8ca (patch)
tree7b5feb1150cb57a3e547ff7e74e0cd1cb91aba49 /haskell
parent46347630195097129437246ccd00b23f71be7bb3 (diff)
haskell/haskell-skylighting-core: 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')
-rw-r--r--haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild b/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild
index f8c43012a5279..37076a096a2e5 100644
--- a/haskell/haskell-skylighting-core/haskell-skylighting-core.SlackBuild
+++ b/haskell/haskell-skylighting-core/haskell-skylighting-core.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