diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:29 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:14 +0700 |
commit | 439e806c0258d1eb60fd51204fcc9475a20464f3 (patch) | |
tree | 68bc82e0f588c9b01a7214983dd19aecfef1cb09 | |
parent | 795fb2c3f7074a41643315c829c8ee7e1ebf287f (diff) |
haskell/haskell-cryptohash: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild b/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild index f53673658a2c0..0bb55e0e1f2ee 100644 --- a/haskell/haskell-cryptohash/haskell-cryptohash.SlackBuild +++ b/haskell/haskell-cryptohash/haskell-cryptohash.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 |