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