diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:17 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:08 +0700 |
commit | 7b3c714eef1e5fc9003f5dbc2f639ed5ee01afe8 (patch) | |
tree | ce403f908a5f1cbbd5780c680b91473e7280440c /haskell/haskell-monad-control | |
parent | bb0fd6ae03060a217b7ab669ddc98e232815c0eb (diff) |
haskell/haskell-monad-control: 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-monad-control')
-rw-r--r-- | haskell/haskell-monad-control/haskell-monad-control.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-monad-control/haskell-monad-control.SlackBuild b/haskell/haskell-monad-control/haskell-monad-control.SlackBuild index 58ef327ef3dd8..e0acf7db98355 100644 --- a/haskell/haskell-monad-control/haskell-monad-control.SlackBuild +++ b/haskell/haskell-monad-control/haskell-monad-control.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 |