summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-system-filepath
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:17 +0700
commit13c47e2a182f547c301c15609c4365de2714b5ac (patch)
treee8ecef68a463c30e515bb21994d563edd8c0bc65 /haskell/haskell-system-filepath
parent3bd5ad236fe66dffb2503155b23f7fd61969f1a7 (diff)
downloadslackbuilds-13c47e2a182f547c301c15609c4365de2714b5ac.tar.gz
slackbuilds-13c47e2a182f547c301c15609c4365de2714b5ac.tar.xz
haskell/haskell-system-filepath: 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-system-filepath')
-rw-r--r--haskell/haskell-system-filepath/haskell-system-filepath.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-system-filepath/haskell-system-filepath.SlackBuild b/haskell/haskell-system-filepath/haskell-system-filepath.SlackBuild
index cd74df5ab3..dde8197a17 100644
--- a/haskell/haskell-system-filepath/haskell-system-filepath.SlackBuild
+++ b/haskell/haskell-system-filepath/haskell-system-filepath.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