aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-bitarray
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:38 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:20 +0700
commitffa65a62a3d9a5d7002aac79f4817864d0b43e31 (patch)
tree08670981665ff2e6279476b3d1cfb57befdae8e9 /haskell/haskell-bitarray
parent48b2e962342d414999ed4a37e2f12d6fe0e8297d (diff)
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/haskell-bitarray')
-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 f41d5b39a0b89..c3aacbc6e8105 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