diff options
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 |
commit | 1b652382ed4b2e2858cf91e6b29fe29f456960eb (patch) | |
tree | d5076b634645ca1ca78f589e59fc7b861139d43d /haskell/haskell-attoparsec | |
parent | 83ed29c9febc8663be5bb4e20bf9479f2b58ec0a (diff) |
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.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild b/haskell/haskell-attoparsec/haskell-attoparsec.SlackBuild index 98b93751b0a1f..20fb0de883c08 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 |