diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:15 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:40 +0700 |
commit | f58821adf9044942b17b6ddf659925e6dead69b6 (patch) | |
tree | f7671b6c7ce158fe4eabe8e153a1cd8c920cb125 /haskell | |
parent | 8fe1ef29753fd1c8232d7e3c1eea9826c3ff84b3 (diff) |
haskell/haskell-aeson-compat: 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')
-rw-r--r-- | haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild b/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild index ac5be6cb57ff2..d2dad520582ba 100644 --- a/haskell/haskell-aeson-compat/haskell-aeson-compat.SlackBuild +++ b/haskell/haskell-aeson-compat/haskell-aeson-compat.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 |