diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:56 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:29 +0700 |
commit | b2a776ed83f7e567b500c86bcdc92e4015cb2ec5 (patch) | |
tree | 5cda8e9d7d37d4884b527cc8ea51967434719a6d /haskell/haskell-syb | |
parent | 95c2a2cfdbe58bcf57796c9eb9bcced952e3c62c (diff) |
haskell/haskell-syb: 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-syb')
-rw-r--r-- | haskell/haskell-syb/haskell-syb.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-syb/haskell-syb.SlackBuild b/haskell/haskell-syb/haskell-syb.SlackBuild index e16cc52fae564..5ff94f7386159 100644 --- a/haskell/haskell-syb/haskell-syb.SlackBuild +++ b/haskell/haskell-syb/haskell-syb.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 |