diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:45 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:23 +0700 |
commit | 76e5f9164a462a3a4ef80f0f317a15d407990ab8 (patch) | |
tree | bb1c9b259384b7ebec7771881fd23bdbdfd297fc /haskell/haskell-yaml | |
parent | de39f1726d722feaa2a12fd23630242d732a8ea9 (diff) |
haskell/haskell-yaml: 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-yaml')
-rw-r--r-- | haskell/haskell-yaml/haskell-yaml.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-yaml/haskell-yaml.SlackBuild b/haskell/haskell-yaml/haskell-yaml.SlackBuild index b6631ec689f62..c9e3edf709bab 100644 --- a/haskell/haskell-yaml/haskell-yaml.SlackBuild +++ b/haskell/haskell-yaml/haskell-yaml.SlackBuild @@ -91,7 +91,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 |