summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-store-core
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:33 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:16 +0700
commit1c50bbc31f4ee77f123fa385cde24e7520ece9c8 (patch)
tree0e8538dc749b7210c24b4d0ad7170b98b2ec4dc0 /haskell/haskell-store-core
parent9f68ae7fd7dd153077acd50c3ee87086b19bca38 (diff)
downloadslackbuilds-1c50bbc31f4ee77f123fa385cde24e7520ece9c8.tar.gz
slackbuilds-1c50bbc31f4ee77f123fa385cde24e7520ece9c8.tar.xz
haskell/haskell-store-core: 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-store-core')
-rw-r--r--haskell/haskell-store-core/haskell-store-core.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-store-core/haskell-store-core.SlackBuild b/haskell/haskell-store-core/haskell-store-core.SlackBuild
index 792969195c..4acc220cfd 100644
--- a/haskell/haskell-store-core/haskell-store-core.SlackBuild
+++ b/haskell/haskell-store-core/haskell-store-core.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