diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:26 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:13 +0700 |
commit | aa54278160b698766ff7215f25f702572ec21c10 (patch) | |
tree | 8676a78817b3cfd5d7dfe4e543617e49d525362b /haskell/haskell-smallcheck | |
parent | 3d8930660a8bb3921f2c2191e87f02552ecd63ac (diff) |
haskell/haskell-smallcheck: 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-smallcheck')
-rw-r--r-- | haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild b/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild index f23cab5cf4645..377689ff5244c 100644 --- a/haskell/haskell-smallcheck/haskell-smallcheck.SlackBuild +++ b/haskell/haskell-smallcheck/haskell-smallcheck.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 |