aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-HsYAML
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:11 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:38 +0700
commit514b52d04e91b38f6337dd81d7bfce0795217405 (patch)
tree42bf9c6a3c30fb8805601916853e10b1e6062933 /haskell/haskell-HsYAML
parent811b010eecb7720b340628bc5d0ff4e6e704758d (diff)
downloadslackbuilds-514b52d04e91b38f6337dd81d7bfce0795217405.tar.xz
haskell/haskell-HsYAML: 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-HsYAML')
-rw-r--r--haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild b/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild
index 30440c271ec7..f67986921d11 100644
--- a/haskell/haskell-HsYAML/haskell-HsYAML.SlackBuild
+++ b/haskell/haskell-HsYAML/haskell-HsYAML.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