diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:20 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:10 +0700 |
commit | 83ed29c9febc8663be5bb4e20bf9479f2b58ec0a (patch) | |
tree | c257e22fd45a2e8910405cd5cf51f0a36663ae19 | |
parent | d19191aa55fb902935f2c771f811ea17680c5a81 (diff) |
haskell/haskell-asn1-parse: 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-asn1-parse/haskell-asn1-parse.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-asn1-parse/haskell-asn1-parse.SlackBuild b/haskell/haskell-asn1-parse/haskell-asn1-parse.SlackBuild index 482bedd9389ee..79c0e46523609 100644 --- a/haskell/haskell-asn1-parse/haskell-asn1-parse.SlackBuild +++ b/haskell/haskell-asn1-parse/haskell-asn1-parse.SlackBuild @@ -90,7 +90,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 |