aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:00 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commit0c9109cd4d40dfc24d2de5d1dbf3cf6a06530af3 (patch)
tree8149367e0ff5b1bc3488ae9f21e4da21dfbf1760
parent214e07dbb3ddbdab3ee7ada0a52f1af4de84ee44 (diff)
haskell/haskell-filelock: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-filelock/haskell-filelock.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-filelock/haskell-filelock.SlackBuild b/haskell/haskell-filelock/haskell-filelock.SlackBuild
index f2b1d92ce4e8e..f2f076589187c 100644
--- a/haskell/haskell-filelock/haskell-filelock.SlackBuild
+++ b/haskell/haskell-filelock/haskell-filelock.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