summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-x509/haskell-x509.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:05 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:34 +0700
commit5d2301c191df6e350a59c12970f81f6432033924 (patch)
treed95f945c91ded19fe4acb4403b52dc1d43f9be48 /haskell/haskell-x509/haskell-x509.SlackBuild
parent02af1f0df4fe6cbaf24de296188d0cffeb97f084 (diff)
downloadslackbuilds-5d2301c191df6e350a59c12970f81f6432033924.tar.gz
slackbuilds-5d2301c191df6e350a59c12970f81f6432033924.tar.xz
haskell/haskell-x509: 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-x509/haskell-x509.SlackBuild')
-rw-r--r--haskell/haskell-x509/haskell-x509.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-x509/haskell-x509.SlackBuild b/haskell/haskell-x509/haskell-x509.SlackBuild
index 2d233d7f95..402cbf43e6 100644
--- a/haskell/haskell-x509/haskell-x509.SlackBuild
+++ b/haskell/haskell-x509/haskell-x509.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