summaryrefslogtreecommitdiff
path: root/haskell/haskell-hslogger
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:00 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:32 +0700
commit70f95cf38bf2060c0149178999e790e43a5bf16c (patch)
tree1fce7f8f529a15f2ab6de873234465367bc1f31f /haskell/haskell-hslogger
parenta8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2 (diff)
downloadslackbuilds-70f95cf38bf2060c0149178999e790e43a5bf16c.tar.gz
haskell/haskell-hslogger: 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-hslogger')
-rw-r--r--haskell/haskell-hslogger/haskell-hslogger.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild b/haskell/haskell-hslogger/haskell-hslogger.SlackBuild
index ec82ccca4e..2f2f904c37 100644
--- a/haskell/haskell-hslogger/haskell-hslogger.SlackBuild
+++ b/haskell/haskell-hslogger/haskell-hslogger.SlackBuild
@@ -91,7 +91,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