summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-regex-applicative
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:25 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:46 +0700
commit615fa4e8e3e5e2832a3a5f3f405b070a00057898 (patch)
treef6c0ea56157eb4b38921f30b0f1537610025b1ec /haskell/haskell-regex-applicative
parent7c03c28529a364984ba2341f8495f1ea190e2391 (diff)
downloadslackbuilds-615fa4e8e3e5e2832a3a5f3f405b070a00057898.tar.gz
slackbuilds-615fa4e8e3e5e2832a3a5f3f405b070a00057898.tar.xz
haskell/haskell-regex-applicative: 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-regex-applicative')
-rw-r--r--haskell/haskell-regex-applicative/haskell-regex-applicative.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-applicative/haskell-regex-applicative.SlackBuild b/haskell/haskell-regex-applicative/haskell-regex-applicative.SlackBuild
index 1fb497f9d1..f1471ab025 100644
--- a/haskell/haskell-regex-applicative/haskell-regex-applicative.SlackBuild
+++ b/haskell/haskell-regex-applicative/haskell-regex-applicative.SlackBuild
@@ -89,7 +89,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