diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:19 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:43 +0700 |
commit | 672be8aac29ea092672538a19947cc0827a8da41 (patch) | |
tree | 94522574efc9c987bc548a79322f5e78c7119c86 | |
parent | 914fb57d7c3529f4863eac96cb2f62afec3bd9b6 (diff) |
haskell/haskell-http-types: 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-types/haskell-http-types.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-types/haskell-http-types.SlackBuild b/haskell/haskell-http-types/haskell-http-types.SlackBuild index bf3e6ab77641..337bcfad0975 100644 --- a/haskell/haskell-http-types/haskell-http-types.SlackBuild +++ b/haskell/haskell-http-types/haskell-http-types.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 |