aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.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
commitc21d6328bbb6e3da6340614fe7cb9e5b8859f622 (patch)
treedac93099e2082f7070af6a939114e12c0e50fa20 /haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.SlackBuild
parenta6c230ad27ae88b0be3db2dc1d273c46c7c0aded (diff)
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>
Diffstat (limited to 'haskell/haskell-extensible-exceptions/haskell-extensible-exceptions.SlackBuild')
-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 cef8e88a16085..deeac6dde4119 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