summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-GLUT
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:10 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:37 +0700
commit567e5f2a620da79d04732de75a158087f63a7980 (patch)
treef110652591d74cbae0ba3465f606979d078556b6 /haskell/haskell-GLUT
parent1f3f51ec96ef4c18e83911132679e9967a947681 (diff)
downloadslackbuilds-567e5f2a620da79d04732de75a158087f63a7980.tar.gz
slackbuilds-567e5f2a620da79d04732de75a158087f63a7980.tar.xz
haskell/haskell-GLUT: 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-GLUT')
-rw-r--r--haskell/haskell-GLUT/haskell-GLUT.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-GLUT/haskell-GLUT.SlackBuild b/haskell/haskell-GLUT/haskell-GLUT.SlackBuild
index 9836a98b5a..f153bf1ecb 100644
--- a/haskell/haskell-GLUT/haskell-GLUT.SlackBuild
+++ b/haskell/haskell-GLUT/haskell-GLUT.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