diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:04 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:34 +0700 |
commit | 13bbe6b2973f67d21ef1bde4f92edece70b202f9 (patch) | |
tree | 63911f61cc2eeac99ba386878946e9f1a3fcd8e6 | |
parent | 00179d46b5ae56c1eb9636ad799d6e85c74bbfa6 (diff) |
haskell/haskell-http-client: 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-http-client/haskell-http-client.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-client/haskell-http-client.SlackBuild b/haskell/haskell-http-client/haskell-http-client.SlackBuild index 08ba6d9989a04..4177499134be0 100644 --- a/haskell/haskell-http-client/haskell-http-client.SlackBuild +++ b/haskell/haskell-http-client/haskell-http-client.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 |