summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:22 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:44 +0200
commit875b370de897caa44b8aa996487088a21f1a739c (patch)
treedd808063fec8f42701501bdd338c4864a4b190dd /haskell
parent4f7c5759691b6832ae81dccb760c1fce19773be8 (diff)
downloadslackbuilds-875b370de897caa44b8aa996487088a21f1a739c.tar.gz
haskell/haskell-persistent-template: 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-persistent-template/haskell-persistent-template.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild b/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild
index e19f06d8b5..aef50af341 100644
--- a/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild
+++ b/haskell/haskell-persistent-template/haskell-persistent-template.SlackBuild
@@ -92,7 +92,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