diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:32 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:16 +0700 |
commit | 483dd094e198ab3e2f14f7a21194f2ce578a06bc (patch) | |
tree | 7a887a76ba82fd6d6fc5193d8c493c276f000ec3 /haskell/haskell-silently | |
parent | cf3fce9938e043b7bb63145c89b051824076a690 (diff) |
haskell/haskell-silently: 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-silently')
-rw-r--r-- | haskell/haskell-silently/haskell-silently.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-silently/haskell-silently.SlackBuild b/haskell/haskell-silently/haskell-silently.SlackBuild index df6a9514a04b..c05ddf05c6de 100644 --- a/haskell/haskell-silently/haskell-silently.SlackBuild +++ b/haskell/haskell-silently/haskell-silently.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 |