summaryrefslogtreecommitdiff
path: root/haskell/haskell-pretty-show
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:42 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:22 +0700
commitb47995dd620a1b3867bd274be4ca8b9a0c1595c6 (patch)
tree9a3746585efe0c632fdcfc577370a68b5bd3dbeb /haskell/haskell-pretty-show
parentd95b0f4c5d5dd27fc8ac2aa1a802fbe553726a64 (diff)
downloadslackbuilds-b47995dd620a1b3867bd274be4ca8b9a0c1595c6.tar.gz
haskell/haskell-pretty-show: 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-pretty-show')
-rw-r--r--haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild b/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild
index 469089c14b..7cd6ab4c03 100644
--- a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild
+++ b/haskell/haskell-pretty-show/haskell-pretty-show.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