summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:53 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:28 +0200
commita6c230ad27ae88b0be3db2dc1d273c46c7c0aded (patch)
treef6ba3b4689b66d25ee9d0ce37f582661e6910946
parentc951d149e2fa6d42981e52219931c6956d1c1225 (diff)
downloadslackbuilds-a6c230ad27ae88b0be3db2dc1d273c46c7c0aded.tar.gz
haskell/haskell-enclosed-exceptions: 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-enclosed-exceptions/haskell-enclosed-exceptions.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.SlackBuild b/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.SlackBuild
index 6bf7e9cb34..2ab6a60162 100644
--- a/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.SlackBuild
+++ b/haskell/haskell-enclosed-exceptions/haskell-enclosed-exceptions.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