aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commitc8bac2309559f106ee72959e801e97893fa8c830 (patch)
tree7a64d699dfdc65e80b584b55f8d91562845820c1 /haskell
parent9beb9f5e25aabe5dfd28d19825cb5a63461c1254 (diff)
haskell/haskell-extra: 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-extra/haskell-extra.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-extra/haskell-extra.SlackBuild b/haskell/haskell-extra/haskell-extra.SlackBuild
index 521b69f49fe2..cc26fd61493c 100644
--- a/haskell/haskell-extra/haskell-extra.SlackBuild
+++ b/haskell/haskell-extra/haskell-extra.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