aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-silently
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:32 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:16 +0700
commit483dd094e198ab3e2f14f7a21194f2ce578a06bc (patch)
tree7a887a76ba82fd6d6fc5193d8c493c276f000ec3 /haskell/haskell-silently
parentcf3fce9938e043b7bb63145c89b051824076a690 (diff)
haskell/haskell-silently: 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-silently')
-rw-r--r--haskell/haskell-silently/haskell-silently.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-silently/haskell-silently.SlackBuild b/haskell/haskell-silently/haskell-silently.SlackBuild
index df6a9514a04b..c05ddf05c6de 100644
--- a/haskell/haskell-silently/haskell-silently.SlackBuild
+++ b/haskell/haskell-silently/haskell-silently.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