diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:16 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:41 +0700 |
commit | 909bb3b5a29551b951bc4133a437648944c59841 (patch) | |
tree | 35563b2591835577d4a1cf55273fe1c607bc0294 | |
parent | 58c87b6f7abbf9a7bfe08d97807b43ff603f8f80 (diff) |
haskell/haskell-ansi-terminal: 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-ansi-terminal/haskell-ansi-terminal.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild index 21e37032f4af..5d58fb62782e 100644 --- a/haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild +++ b/haskell/haskell-ansi-terminal/haskell-ansi-terminal.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 |