aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-void
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:58 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commit9cc103f1e31a446b2015a4d9f4323c153e9424fc (patch)
tree688d40ce72972ea354e6eef73fe693d50bfd3e1a /haskell/haskell-void
parent9ce9a071f75d8592aaf5cc708fdae5f22c73cdb6 (diff)
haskell/haskell-void: 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-void')
-rw-r--r--haskell/haskell-void/haskell-void.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-void/haskell-void.SlackBuild b/haskell/haskell-void/haskell-void.SlackBuild
index 190106fca03b9..bb2355db8f6d3 100644
--- a/haskell/haskell-void/haskell-void.SlackBuild
+++ b/haskell/haskell-void/haskell-void.SlackBuild
@@ -90,7 +90,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