aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-stringprep
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:33 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:16 +0700
commit3bd5ad236fe66dffb2503155b23f7fd61969f1a7 (patch)
tree177fefac68d6c61cd30c58be7456766e5486d256 /haskell/haskell-stringprep
parent1c50bbc31f4ee77f123fa385cde24e7520ece9c8 (diff)
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 46b8360fe9b9..4908981fb37d 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