summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-stringprep
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:33 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:16 +0200
commit3bd5ad236fe66dffb2503155b23f7fd61969f1a7 (patch)
tree177fefac68d6c61cd30c58be7456766e5486d256 /haskell/haskell-stringprep
parent1c50bbc31f4ee77f123fa385cde24e7520ece9c8 (diff)
downloadslackbuilds-3bd5ad236fe66dffb2503155b23f7fd61969f1a7.tar.gz
haskell/haskell-stringprep: 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-stringprep')
-rw-r--r--haskell/haskell-stringprep/haskell-stringprep.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-stringprep/haskell-stringprep.SlackBuild b/haskell/haskell-stringprep/haskell-stringprep.SlackBuild
index 46b8360fe9..4908981fb3 100644
--- a/haskell/haskell-stringprep/haskell-stringprep.SlackBuild
+++ b/haskell/haskell-stringprep/haskell-stringprep.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