diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:01 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:32 +0700 |
commit | 7e24f06b5deb9a1f5c07c0e590f1149f5de33f20 (patch) | |
tree | cff5d869bdd821f83c50c4dee7612c994a83234f | |
parent | 2d30a40535e336737bb379117976bd29bc3ed3ac (diff) | |
download | slackbuilds-7e24f06b5deb9a1f5c07c0e590f1149f5de33f20.tar.gz |
haskell/haskell-hspec-core: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild b/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild index f8ea318f72..14052b239b 100644 --- a/haskell/haskell-hspec-core/haskell-hspec-core.SlackBuild +++ b/haskell/haskell-hspec-core/haskell-hspec-core.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 |