diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:12 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:38 +0700 |
commit | afd49acd126e8814b3f6995cd3e92e113d58164b (patch) | |
tree | 62a987dd128bd2e2b3f3a6229ae1558e39792863 /haskell/haskell-haddock-library | |
parent | f104076bc6c72f3c95f378946c0235dea3f7bd7c (diff) |
haskell/haskell-haddock-library: 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-haddock-library')
-rw-r--r-- | haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild b/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild index c2ec744537af5..29f55818c2c7a 100644 --- a/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild +++ b/haskell/haskell-haddock-library/haskell-haddock-library.SlackBuild @@ -89,7 +89,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 |