summaryrefslogtreecommitdiff
path: root/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:26 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:46 +0700
commit3db96d8013da6162350e0c5d856f50042233b57e (patch)
treeba36d12a074410fabb0f933bcf7a3c0409cc39e9 /haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
parent6cb74b8b203aabcf111e5bf5fd5196252e7c383c (diff)
downloadslackbuilds-3db96d8013da6162350e0c5d856f50042233b57e.tar.gz
haskell/haskell-QuickCheck: 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-QuickCheck/haskell-QuickCheck.SlackBuild')
-rw-r--r--haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild b/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
index 8966c9c01d..0c6e38d26b 100644
--- a/haskell/haskell-QuickCheck/haskell-QuickCheck.SlackBuild
+++ b/haskell/haskell-QuickCheck/haskell-QuickCheck.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