aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:05 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:34 +0700
commit7039bab6b6287bab4a11122f4f4be289167d6162 (patch)
treea1e2db53c7dc80e053b5875ac2be8231f7cac226
parente0c79c31939991618c92d3dc6a55231f355529a0 (diff)
haskell/haskell-hspec-smallcheck: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild
index 34d442ee7808..ae8df7ebbf0a 100644
--- a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild
+++ b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.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