aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-yaml/haskell-yaml.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:45 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:23 +0700
commit76e5f9164a462a3a4ef80f0f317a15d407990ab8 (patch)
treebb1c9b259384b7ebec7771881fd23bdbdfd297fc /haskell/haskell-yaml/haskell-yaml.SlackBuild
parentde39f1726d722feaa2a12fd23630242d732a8ea9 (diff)
haskell/haskell-yaml: 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-yaml/haskell-yaml.SlackBuild')
-rw-r--r--haskell/haskell-yaml/haskell-yaml.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-yaml/haskell-yaml.SlackBuild b/haskell/haskell-yaml/haskell-yaml.SlackBuild
index b6631ec689f62..c9e3edf709bab 100644
--- a/haskell/haskell-yaml/haskell-yaml.SlackBuild
+++ b/haskell/haskell-yaml/haskell-yaml.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