aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-x509-validation
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:59 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commitf1a6377dfb9985b62a5a0f156b131ed511907583 (patch)
tree5048e46ce9c47bf63d4fd6cee25ab56fa8f943ac /haskell/haskell-x509-validation
parent9cc103f1e31a446b2015a4d9f4323c153e9424fc (diff)
haskell/haskell-x509-validation: 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-validation')
-rw-r--r--haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild b/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild
index dbc61707c28c6..85786310319a4 100644
--- a/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild
+++ b/haskell/haskell-x509-validation/haskell-x509-validation.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