aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:35 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:18 +0700
commit4277552479807eabaf1d4790f90f4d3b68dc3216 (patch)
tree05422d95a85cb305848ddf17432fdd545b8b436e /haskell
parent4886f17be741e27b5f0a6ef95bbd881e067213ea (diff)
haskell/haskell-vector-algorithms: 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-vector-algorithms/haskell-vector-algorithms.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild
index 54cabc8fa57a7..7669f8f6ffd50 100644
--- a/haskell/haskell-vector-algorithms/haskell-vector-algorithms.SlackBuild
+++ b/haskell/haskell-vector-algorithms/haskell-vector-algorithms.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