aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-mintty
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:13 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:39 +0700
commitc4b338455b4d9ef56aad9d7f2e86184e87ec02c5 (patch)
treeafd9ae63678b40e7b17de984dba33acb6c8df7f2 /haskell/haskell-mintty
parent29e462e91f74b1419bfae5bd0239af7aebad603a (diff)
haskell/haskell-mintty: 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-mintty')
-rw-r--r--haskell/haskell-mintty/haskell-mintty.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-mintty/haskell-mintty.SlackBuild b/haskell/haskell-mintty/haskell-mintty.SlackBuild
index 105ac95983d6e..016eb33388139 100644
--- a/haskell/haskell-mintty/haskell-mintty.SlackBuild
+++ b/haskell/haskell-mintty/haskell-mintty.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