aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:20 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:43 +0700
commite02ed58edd6f103c1e272db0cca1a46e8d16b574 (patch)
tree9f7bc8971c602f2482cfd779ce3cf7fdf3afa650 /haskell
parent8cc02d8f584a8a743cfd145ad621ce990273d739 (diff)
haskell/haskell-nats: 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')
-rw-r--r--haskell/haskell-nats/haskell-nats.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-nats/haskell-nats.SlackBuild b/haskell/haskell-nats/haskell-nats.SlackBuild
index 6e066a466fbf..12dbbc3369eb 100644
--- a/haskell/haskell-nats/haskell-nats.SlackBuild
+++ b/haskell/haskell-nats/haskell-nats.SlackBuild
@@ -88,7 +88,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