diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:37 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:19 +0700 |
commit | 0c08bf11847243d0f4d395b5a098eab368d38dfb (patch) | |
tree | bc742840684632fed5c879ff0756eeca95114d84 /haskell/haskell-aeson-pretty | |
parent | 784d3f7c871bf217d0d0a7210a1fb5d319c8c224 (diff) |
haskell/haskell-aeson-pretty: 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-aeson-pretty')
-rw-r--r-- | haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild index a6f84bb6452c..1925c3b9bd08 100644 --- a/haskell/haskell-aeson-pretty/haskell-aeson-pretty.SlackBuild +++ b/haskell/haskell-aeson-pretty/haskell-aeson-pretty.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 |