summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:37 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:19 +0700
commit0c08bf11847243d0f4d395b5a098eab368d38dfb (patch)
treebc742840684632fed5c879ff0756eeca95114d84 /haskell
parent784d3f7c871bf217d0d0a7210a1fb5d319c8c224 (diff)
downloadslackbuilds-0c08bf11847243d0f4d395b5a098eab368d38dfb.tar.gz
slackbuilds-0c08bf11847243d0f4d395b5a098eab368d38dfb.tar.xz
haskell/haskell-aeson-pretty: 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')
-rw-r--r--haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild
index a6f84bb645..1925c3b9bd 100644
--- a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild
+++ b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.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