aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-transformers-base
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:46 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:24 +0700
commit50f9ccf18be312230f6a45bad63a27ab1ccd8d89 (patch)
treee8e0c3cf4f58eb597c450207b6dbac0f0538adae /haskell/haskell-transformers-base
parent7d66a248abe1eb2919cd77b1978abdf5bdba0715 (diff)
haskell/haskell-transformers-base: 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-base')
-rw-r--r--haskell/haskell-transformers-base/haskell-transformers-base.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-transformers-base/haskell-transformers-base.SlackBuild b/haskell/haskell-transformers-base/haskell-transformers-base.SlackBuild
index 35ee0159a0dd4..0088774838c41 100644
--- a/haskell/haskell-transformers-base/haskell-transformers-base.SlackBuild
+++ b/haskell/haskell-transformers-base/haskell-transformers-base.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