summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-void
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:58 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:31 +0200
commit9cc103f1e31a446b2015a4d9f4323c153e9424fc (patch)
tree688d40ce72972ea354e6eef73fe693d50bfd3e1a /haskell/haskell-void
parent9ce9a071f75d8592aaf5cc708fdae5f22c73cdb6 (diff)
downloadslackbuilds-9cc103f1e31a446b2015a4d9f4323c153e9424fc.tar.gz
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 190106fca0..bb2355db8f 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