summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-attoparsec
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:20 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:10 +0700
commit1b652382ed4b2e2858cf91e6b29fe29f456960eb (patch)
treed5076b634645ca1ca78f589e59fc7b861139d43d /haskell/haskell-attoparsec
parent83ed29c9febc8663be5bb4e20bf9479f2b58ec0a (diff)
downloadslackbuilds-1b652382ed4b2e2858cf91e6b29fe29f456960eb.tar.gz
slackbuilds-1b652382ed4b2e2858cf91e6b29fe29f456960eb.tar.xz
haskell/haskell-attoparsec: 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-attoparsec')
-rw-r--r--haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild b/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild
index 98b93751b0..20fb0de883 100644
--- a/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild
+++ b/haskell/haskell-attoparsec/haskell-attoparsec.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