diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:28 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:14 +0700 |
commit | b421d32055418d0c79b223b4f793f3cda03f02f5 (patch) | |
tree | 7ab343cf6cbc51bd064a6d63b74217a70c7bea1f /haskell/haskell-test-framework | |
parent | 3a114b12f995e88d938ce52eede2c0c106d34813 (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.SlackBuild | 2 |
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 |