diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:51 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:27 +0700 |
commit | 49035fba08ac597378b93917c3f782612099ba2b (patch) | |
tree | a38976b5b03f13c0a9e53f75499144fab4d31c1f /haskell/haskell-cmark/haskell-cmark.SlackBuild | |
parent | 27d98f7978f97bc011a54573ee26e61a1817e66f (diff) |
haskell/haskell-cmark: 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-cmark/haskell-cmark.SlackBuild')
-rw-r--r-- | haskell/haskell-cmark/haskell-cmark.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cmark/haskell-cmark.SlackBuild b/haskell/haskell-cmark/haskell-cmark.SlackBuild index 1663630932d11..8e55e8f840d2c 100644 --- a/haskell/haskell-cmark/haskell-cmark.SlackBuild +++ b/haskell/haskell-cmark/haskell-cmark.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 |