summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-aeson-compat
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:15 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:40 +0700
commitf58821adf9044942b17b6ddf659925e6dead69b6 (patch)
treef7671b6c7ce158fe4eabe8e153a1cd8c920cb125 /haskell/haskell-aeson-compat
parent8fe1ef29753fd1c8232d7e3c1eea9826c3ff84b3 (diff)
downloadslackbuilds-f58821adf9044942b17b6ddf659925e6dead69b6.tar.gz
slackbuilds-f58821adf9044942b17b6ddf659925e6dead69b6.tar.xz
haskell/haskell-aeson-compat: 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-aeson-compat')
-rw-r--r--haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild b/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild
index ac5be6cb57..d2dad52058 100644
--- a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild
+++ b/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild
@@ -89,7 +89,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