diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:29 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:14 +0700 |
commit | e55f2f6223c1e0de6bbfc1f9e1b0279ac18f615f (patch) | |
tree | edf16126767d4e004291af435044b7035c6f971b /haskell/haskell-contravariant | |
parent | 09c6d0ce5f7d505baa2c908189d84836347f1308 (diff) |
haskell/haskell-contravariant: 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-contravariant')
-rw-r--r-- | haskell/haskell-contravariant/haskell-contravariant.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-contravariant/haskell-contravariant.SlackBuild b/haskell/haskell-contravariant/haskell-contravariant.SlackBuild index 717bd2109b662..3b98fb66f5e39 100644 --- a/haskell/haskell-contravariant/haskell-contravariant.SlackBuild +++ b/haskell/haskell-contravariant/haskell-contravariant.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 |