aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-th-lift
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:28 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:14 +0700
commitcff9e4a02de19f8f048a98f85d9998ac052b2bed (patch)
tree57bf998e1a69a7b582333d624ad82b6623d5e7c7 /haskell/haskell-th-lift
parent1bfbfa1640a653fe2a4fc43d22c372fc1bef1a3f (diff)
haskell/haskell-th-lift: 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-th-lift')
-rw-r--r--haskell/haskell-th-lift/haskell-th-lift.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-th-lift/haskell-th-lift.SlackBuild b/haskell/haskell-th-lift/haskell-th-lift.SlackBuild
index 52346036b0bd..6db0477e86d5 100644
--- a/haskell/haskell-th-lift/haskell-th-lift.SlackBuild
+++ b/haskell/haskell-th-lift/haskell-th-lift.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