aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-x509-store
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:35 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:18 +0700
commitfd48998ab10dae1eef0e4a5c29d35e70802c9bc3 (patch)
tree5146a996d3cbc0cb7a66ff4beb40595077dc7686 /haskell/haskell-x509-store
parent4277552479807eabaf1d4790f90f4d3b68dc3216 (diff)
haskell/haskell-x509-store: 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-store')
-rw-r--r--haskell/haskell-x509-store/haskell-x509-store.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-x509-store/haskell-x509-store.SlackBuild b/haskell/haskell-x509-store/haskell-x509-store.SlackBuild
index 706b1a9be8f7..3bb422f95bc6 100644
--- a/haskell/haskell-x509-store/haskell-x509-store.SlackBuild
+++ b/haskell/haskell-x509-store/haskell-x509-store.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