aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:22 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:11 +0700
commit19b58efcb908dd1ca9da3a164969deb244ac75ec (patch)
tree918c6668fc595f850c3e13bad2eba8d9cf830897 /haskell
parent224e6ee00d43733cf6a1d48508318d250f879b7d (diff)
haskell/haskell-constraints: 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-constraints/haskell-constraints.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-constraints/haskell-constraints.SlackBuild b/haskell/haskell-constraints/haskell-constraints.SlackBuild
index 5c801015d1301..fdccaaf0bb23e 100644
--- a/haskell/haskell-constraints/haskell-constraints.SlackBuild
+++ b/haskell/haskell-constraints/haskell-constraints.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