aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:38 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:19 +0700
commitbe351451b6a7953e141b80883a80280eb7bb8e11 (patch)
tree5da2a77b69a550b9bb5d7eb4c650732a0878399b
parent5872038fe196aa14464e96cc3e792a99170cd41a (diff)
haskell/haskell-base-compat: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-base-compat/haskell-base-compat.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-base-compat/haskell-base-compat.SlackBuild b/haskell/haskell-base-compat/haskell-base-compat.SlackBuild
index 2a0b892aa6ef1..35589d72b4185 100644
--- a/haskell/haskell-base-compat/haskell-base-compat.SlackBuild
+++ b/haskell/haskell-base-compat/haskell-base-compat.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