aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-transformers-compat
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:58 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:30 +0700
commit7c600b04dfbf8c8cc4dd1a809a23a69ca1e8bae0 (patch)
tree1b43d08ef16b043174ffd52e08b696609b0c246e /haskell/haskell-transformers-compat
parent616fb03063b4682c7a18531df6c35b6bdff0285b (diff)
haskell/haskell-transformers-compat: 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-transformers-compat')
-rw-r--r--haskell/haskell-transformers-compat/haskell-transformers-compat.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-transformers-compat/haskell-transformers-compat.SlackBuild b/haskell/haskell-transformers-compat/haskell-transformers-compat.SlackBuild
index 83356c80609fc..b1426ba62b364 100644
--- a/haskell/haskell-transformers-compat/haskell-transformers-compat.SlackBuild
+++ b/haskell/haskell-transformers-compat/haskell-transformers-compat.SlackBuild
@@ -90,7 +90,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