summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:54 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:28 +0200
commitc21d6328bbb6e3da6340614fe7cb9e5b8859f622 (patch)
treedac93099e2082f7070af6a939114e12c0e50fa20
parenta6c230ad27ae88b0be3db2dc1d273c46c7c0aded (diff)
downloadslackbuilds-c21d6328bbb6e3da6340614fe7cb9e5b8859f622.tar.gz
haskell/haskell-extensible-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-extensible-exceptions/haskell-extensible-exceptions.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.SlackBuild b/haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.SlackBuild
index cef8e88a16..deeac6dde4 100644
--- a/haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.SlackBuild
+++ b/haskell/haskell-extensible-exceptions/haskell-extensible-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