aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-hspec-discover
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:08 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:36 +0700
commitd588ba09424a780d0dfb6b04dda4f7e5b8a8c0ab (patch)
tree48bf2e744356a3d1839be345f66e968331d32e1b /haskell/haskell-hspec-discover
parenta844a6ccd9cc292b5def12528491d42ded9a8136 (diff)
haskell/haskell-hspec-discover: 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-hspec-discover')
-rw-r--r--haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild b/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild
index f5fd09d9db430..d23583e274a04 100644
--- a/haskell/haskell-hspec-discover/haskell-hspec-discover.SlackBuild
+++ b/haskell/haskell-hspec-discover/haskell-hspec-discover.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