aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:06 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:35 +0700
commit61e7aac3c3a1abc37a690ed4e1d0b6716777f76f (patch)
treef39490200e44ec996da373aa1e5837d1909000f7
parent5b47937ea6ab60d037af214c9c7b0ffc8340bafc (diff)
haskell/haskell-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-exceptions/haskell-exceptions.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-exceptions/haskell-exceptions.SlackBuild b/haskell/haskell-exceptions/haskell-exceptions.SlackBuild
index 254bf0e3f052e..80998f92fd27d 100644
--- a/haskell/haskell-exceptions/haskell-exceptions.SlackBuild
+++ b/haskell/haskell-exceptions/haskell-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