diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:24 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:45 +0700 |
commit | d43f456532d54d78655eef9aca9cb262bbb0f7b8 (patch) | |
tree | 91ec475321e4b6bc999d0fe7dd9ca7b7823ce616 /haskell/haskell-megaparsec | |
parent | eeba7a722ab5479df3683ac0ab4586886ce70965 (diff) |
haskell/haskell-megaparsec: 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-megaparsec')
-rw-r--r-- | haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild b/haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild index cd4073316da85..fd603135e036d 100644 --- a/haskell/haskell-megaparsec/haskell-megaparsec.SlackBuild +++ b/haskell/haskell-megaparsec/haskell-megaparsec.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 |