diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:36 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:18 +0700 |
commit | 0c45fecdbd40a5df456f2f670b2b65e4a93eb2cc (patch) | |
tree | a057b8137cb6dde12f0a9191735a0db529b0f493 /haskell/haskell-Diff/haskell-Diff.SlackBuild | |
parent | a9c80d5bdceb9492b2cf99045d234d39a6a1572f (diff) | |
download | slackbuilds-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.SlackBuild | 2 |
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 |