diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:17 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:41 +0700 |
commit | 965098422803a8f861388e6b2b0015cbf7c4e19c (patch) | |
tree | b2784d0c04aab877ecbfe0c1c50433485c6bdb57 /haskell | |
parent | d603d18c2f16bf8b8c0c7c809d90dca0a685ba72 (diff) |
haskell/haskell-hspec-expectations: 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-hspec-expectations/haskell-hspec-expectations.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hspec-expectations/haskell-hspec-expectations.SlackBuild b/haskell/haskell-hspec-expectations/haskell-hspec-expectations.SlackBuild index f1a0a5d8b51b..1acb4635dd6e 100644 --- a/haskell/haskell-hspec-expectations/haskell-hspec-expectations.SlackBuild +++ b/haskell/haskell-hspec-expectations/haskell-hspec-expectations.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 |