summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-ansi-terminal
diff options
context:
space:
mode:
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
commit909bb3b5a29551b951bc4133a437648944c59841 (patch)
tree35563b2591835577d4a1cf55273fe1c607bc0294 /haskell/haskell-ansi-terminal
parent58c87b6f7abbf9a7bfe08d97807b43ff603f8f80 (diff)
downloadslackbuilds-909bb3b5a29551b951bc4133a437648944c59841.tar.gz
slackbuilds-909bb3b5a29551b951bc4133a437648944c59841.tar.xz
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>
Diffstat (limited to 'haskell/haskell-ansi-terminal')
-rw-r--r--haskell/haskell-ansi-terminal/haskell-ansi-terminal.SlackBuild2
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 21e37032f4..5d58fb6278 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