summaryrefslogtreecommitdiff
path: root/haskell/haskell-Diff/haskell-Diff.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:36 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:18 +0700
commit0c45fecdbd40a5df456f2f670b2b65e4a93eb2cc (patch)
treea057b8137cb6dde12f0a9191735a0db529b0f493 /haskell/haskell-Diff/haskell-Diff.SlackBuild
parenta9c80d5bdceb9492b2cf99045d234d39a6a1572f (diff)
downloadslackbuilds-0c45fecdbd40a5df456f2f670b2b65e4a93eb2cc.tar.gz
haskell/haskell-Diff: 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-Diff/haskell-Diff.SlackBuild')
-rw-r--r--haskell/haskell-Diff/haskell-Diff.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-Diff/haskell-Diff.SlackBuild b/haskell/haskell-Diff/haskell-Diff.SlackBuild
index 71962d7055..73aff99466 100644
--- a/haskell/haskell-Diff/haskell-Diff.SlackBuild
+++ b/haskell/haskell-Diff/haskell-Diff.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