diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:27 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:13 +0700 |
commit | 14ea59facecf435bbeee43244fd6d04b1e09eac1 (patch) | |
tree | 01c9183eea420c5906fe7462c8e1d3aedd91172e /haskell/haskell-stm-chans | |
parent | aa54278160b698766ff7215f25f702572ec21c10 (diff) |
haskell/haskell-stm-chans: 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-stm-chans')
-rw-r--r-- | haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild b/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild index b8ad672c8f66..aa739b595d8f 100644 --- a/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild +++ b/haskell/haskell-stm-chans/haskell-stm-chans.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 |