summaryrefslogtreecommitdiff
path: root/haskell/haskell-fgl/haskell-fgl.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:54 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:28 +0700
commit6c47a09ec464b8ae4f7bfb52a0c4a56466f3dbf2 (patch)
tree8bca92feaa54e5ad992eb40ce4c309126c94b7b3 /haskell/haskell-fgl/haskell-fgl.SlackBuild
parentc21d6328bbb6e3da6340614fe7cb9e5b8859f622 (diff)
downloadslackbuilds-6c47a09ec464b8ae4f7bfb52a0c4a56466f3dbf2.tar.gz
haskell/haskell-fgl: 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-fgl/haskell-fgl.SlackBuild')
-rw-r--r--haskell/haskell-fgl/haskell-fgl.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-fgl/haskell-fgl.SlackBuild b/haskell/haskell-fgl/haskell-fgl.SlackBuild
index 0b28438ede..9d25fe65a2 100644
--- a/haskell/haskell-fgl/haskell-fgl.SlackBuild
+++ b/haskell/haskell-fgl/haskell-fgl.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