aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-test-framework
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:28 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:14 +0700
commitb421d32055418d0c79b223b4f793f3cda03f02f5 (patch)
tree7ab343cf6cbc51bd064a6d63b74217a70c7bea1f /haskell/haskell-test-framework
parent3a114b12f995e88d938ce52eede2c0c106d34813 (diff)
haskell/haskell-test-framework: 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-test-framework')
-rw-r--r--haskell/haskell-test-framework/haskell-test-framework.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-test-framework/haskell-test-framework.SlackBuild b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild
index a67b2fe65756d..84cb2313ddbb9 100644
--- a/haskell/haskell-test-framework/haskell-test-framework.SlackBuild
+++ b/haskell/haskell-test-framework/haskell-test-framework.SlackBuild
@@ -91,7 +91,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