aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-gloss-rendering
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:11 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:38 +0700
commit4efa419743775833b7f55d7ea6dcefb5e98c2f1a (patch)
tree253bf4cb05c370972812e863066e6092e9cc03fb /haskell/haskell-gloss-rendering
parentf7a9ae098fa6de28a3d69fb06efefa4ab94cdf23 (diff)
haskell/haskell-gloss-rendering: 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-rendering')
-rw-r--r--haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild
index 8af075678191..dc0a51051a39 100644
--- a/haskell/haskell-gloss-rendering/haskell-gloss-rendering.SlackBuild
+++ b/haskell/haskell-gloss-rendering/haskell-gloss-rendering.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