aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-smallcheck
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:26 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:13 +0700
commitaa54278160b698766ff7215f25f702572ec21c10 (patch)
tree8676a78817b3cfd5d7dfe4e543617e49d525362b /haskell/haskell-smallcheck
parent3d8930660a8bb3921f2c2191e87f02552ecd63ac (diff)
haskell/haskell-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-smallcheck')
-rw-r--r--haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild b/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild
index f23cab5cf464..377689ff5244 100644
--- a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild
+++ b/haskell/haskell-smallcheck/haskell-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