aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-free
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:01 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:32 +0700
commit12e4ba136747c9153aa14455c48474e9457e8839 (patch)
tree21b304f7e8710a72d3239329cd7eadfd6b656b29 /haskell/haskell-free
parent4da4f12eea7e448c571a3340f3062881f2b34f72 (diff)
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 3558607bae4d..b2e2f5251845 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