summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-gloss/haskell-gloss.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:55 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commit4d2a20bfef3530e98c64ade7b913b9c6b6966777 (patch)
treea2f0d923781489fd0e06858dfe9c9939ce97ab6d /haskell/haskell-gloss/haskell-gloss.SlackBuild
parenta63d246e65a63f43dccf3dd9c2799d0b0994e5ab (diff)
downloadslackbuilds-4d2a20bfef3530e98c64ade7b913b9c6b6966777.tar.gz
slackbuilds-4d2a20bfef3530e98c64ade7b913b9c6b6966777.tar.xz
haskell/haskell-gloss: 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-gloss/haskell-gloss.SlackBuild')
-rw-r--r--haskell/haskell-gloss/haskell-gloss.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-gloss/haskell-gloss.SlackBuild b/haskell/haskell-gloss/haskell-gloss.SlackBuild
index 6175d526c8..0340ecaf54 100644
--- a/haskell/haskell-gloss/haskell-gloss.SlackBuild
+++ b/haskell/haskell-gloss/haskell-gloss.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