summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:27 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:13 +0200
commiteaa4290810ed39a3ae680da4dd3be6139e3d004b (patch)
tree5d288c436b67dcf43d1c64f1f140b7b48d52ba7f
parentfa4ad166e04a8f1cb8b175335f69905606a1b84a (diff)
downloadslackbuilds-eaa4290810ed39a3ae680da4dd3be6139e3d004b.tar.gz
haskell/haskell-system-fileio: 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-system-fileio/haskell-system-fileio.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild b/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild
index 06f0f235cb..779e4fbff9 100644
--- a/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild
+++ b/haskell/haskell-system-fileio/haskell-system-fileio.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