aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-colour
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:40 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:20 +0700
commit9ff992b50a34d7093c2736db1545a504d1139c9f (patch)
tree82f1bd29613c3d667391253a65f6b9d0d00988c9 /haskell/haskell-colour
parentf9c52378c21b2f72720e4b277c00a3ed763801fe (diff)
haskell/haskell-colour: 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-colour')
-rw-r--r--haskell/haskell-colour/haskell-colour.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-colour/haskell-colour.SlackBuild b/haskell/haskell-colour/haskell-colour.SlackBuild
index 1b5088ad2f1ba..5e174ea58571b 100644
--- a/haskell/haskell-colour/haskell-colour.SlackBuild
+++ b/haskell/haskell-colour/haskell-colour.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