summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-vector/haskell-vector.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:47 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:24 +0700
commitb4e956e6ed961a728b894e4df347865de2255a80 (patch)
treee18574a499e1aea95912b76ad763a69251650310 /haskell/haskell-vector/haskell-vector.SlackBuild
parent84bbe31249d8efd76c48bdd79e3e91561ca20432 (diff)
downloadslackbuilds-b4e956e6ed961a728b894e4df347865de2255a80.tar.gz
slackbuilds-b4e956e6ed961a728b894e4df347865de2255a80.tar.xz
haskell/haskell-vector: 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-vector/haskell-vector.SlackBuild')
-rw-r--r--haskell/haskell-vector/haskell-vector.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-vector/haskell-vector.SlackBuild b/haskell/haskell-vector/haskell-vector.SlackBuild
index 877b311a07..d700ef9d84 100644
--- a/haskell/haskell-vector/haskell-vector.SlackBuild
+++ b/haskell/haskell-vector/haskell-vector.SlackBuild
@@ -93,7 +93,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