aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-FindBin/haskell-FindBin.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:48 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:25 +0700
commit47bf20888a88cfddcec354353aeabcf65cb0a7ad (patch)
treea67dc6e3c6a76b8c66435596b20f293861f12e20 /haskell/haskell-FindBin/haskell-FindBin.SlackBuild
parent0fdf7683556f6c068527ae625851ea45e991f4e7 (diff)
haskell/haskell-FindBin: 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-FindBin/haskell-FindBin.SlackBuild')
-rw-r--r--haskell/haskell-FindBin/haskell-FindBin.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-FindBin/haskell-FindBin.SlackBuild b/haskell/haskell-FindBin/haskell-FindBin.SlackBuild
index 1b4d7f04a4bd..2024f8ef4e13 100644
--- a/haskell/haskell-FindBin/haskell-FindBin.SlackBuild
+++ b/haskell/haskell-FindBin/haskell-FindBin.SlackBuild
@@ -90,7 +90,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