summaryrefslogtreecommitdiff
path: root/haskell/haskell-lifted-base
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:09 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:36 +0700
commit5e6c7bb49cbb87ee286986a0fd2a408c0286e74a (patch)
tree4ffb49f78c68f087fc36881edd760091fa8070d3 /haskell/haskell-lifted-base
parent3f0fd83e24700cd219cd50ef542c273208553af0 (diff)
downloadslackbuilds-5e6c7bb49cbb87ee286986a0fd2a408c0286e74a.tar.gz
haskell/haskell-lifted-base: 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-lifted-base')
-rw-r--r--haskell/haskell-lifted-base/haskell-lifted-base.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-lifted-base/haskell-lifted-base.SlackBuild b/haskell/haskell-lifted-base/haskell-lifted-base.SlackBuild
index e900280303..8feaee3447 100644
--- a/haskell/haskell-lifted-base/haskell-lifted-base.SlackBuild
+++ b/haskell/haskell-lifted-base/haskell-lifted-base.SlackBuild
@@ -90,7 +90,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