summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-free
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:01 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:32 +0200
commit12e4ba136747c9153aa14455c48474e9457e8839 (patch)
tree21b304f7e8710a72d3239329cd7eadfd6b656b29 /haskell/haskell-free
parent4da4f12eea7e448c571a3340f3062881f2b34f72 (diff)
downloadslackbuilds-12e4ba136747c9153aa14455c48474e9457e8839.tar.gz
haskell/haskell-free: 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-free')
-rw-r--r--haskell/haskell-free/haskell-free.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-free/haskell-free.SlackBuild b/haskell/haskell-free/haskell-free.SlackBuild
index 3558607bae..b2e2f52518 100644
--- a/haskell/haskell-free/haskell-free.SlackBuild
+++ b/haskell/haskell-free/haskell-free.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