aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-clock
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:16 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:07 +0700
commitd9b3d33f13a4cf00e577df5edcc83578ca959fe4 (patch)
tree661e3646769dff8477e8cb0664631040c6ce65a7 /haskell/haskell-clock
parent4966d32a7647a099f2c3446901db311870937ce4 (diff)
haskell/haskell-clock: 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-clock')
-rw-r--r--haskell/haskell-clock/haskell-clock.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-clock/haskell-clock.SlackBuild b/haskell/haskell-clock/haskell-clock.SlackBuild
index 6582934311f73..9119deef86022 100644
--- a/haskell/haskell-clock/haskell-clock.SlackBuild
+++ b/haskell/haskell-clock/haskell-clock.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