summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-hspec-smallcheck
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:05 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:34 +0200
commit7039bab6b6287bab4a11122f4f4be289167d6162 (patch)
treea1e2db53c7dc80e053b5875ac2be8231f7cac226 /haskell/haskell-hspec-smallcheck
parente0c79c31939991618c92d3dc6a55231f355529a0 (diff)
downloadslackbuilds-7039bab6b6287bab4a11122f4f4be289167d6162.tar.gz
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>
Diffstat (limited to 'haskell/haskell-hspec-smallcheck')
-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 34d442ee78..ae8df7ebbf 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