diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:25 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:12 +0700 |
commit | aee4a59fc9d699a11670e04df6c23b7e7dc0f265 (patch) | |
tree | 88c6a8f040f56dbad8d0ef5cfec135ba0de33c5d /haskell/haskell-ghc-paths | |
parent | 9e0e183b16ca9307cccb4122b71b469e3f10a5d6 (diff) |
haskell/haskell-ghc-paths: 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-ghc-paths')
-rw-r--r-- | haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild b/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild index ec6e8f37e79c..f5ff17ea8134 100644 --- a/haskell/haskell-ghc-paths/haskell-ghc-paths.SlackBuild +++ b/haskell/haskell-ghc-paths/haskell-ghc-paths.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 |