summaryrefslogtreecommitdiff
path: root/haskell/haskell-wl-pprint-text
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:04 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:34 +0700
commitf10c38b40256f66c83d19fe35f9aeb2f6db1c60a (patch)
treef793a539a8a37ab17232eb984bb26f0a27747ecb /haskell/haskell-wl-pprint-text
parent13bbe6b2973f67d21ef1bde4f92edece70b202f9 (diff)
downloadslackbuilds-f10c38b40256f66c83d19fe35f9aeb2f6db1c60a.tar.gz
haskell/haskell-wl-pprint-text: 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-wl-pprint-text')
-rw-r--r--haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild
index e173d85468..c0faf1adae 100644
--- a/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.SlackBuild
+++ b/haskell/haskell-wl-pprint-text/haskell-wl-pprint-text.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