summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-OpenGL
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:19 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:09 +0700
commit8b2796a7c644db0a95beaa2681168ac2d597e3fc (patch)
tree134a45fdf75b088126328060ee5bbe1b48d08ba8 /haskell/haskell-OpenGL
parent1115633084c44d6b3164198ebabd967e3aca4f45 (diff)
downloadslackbuilds-8b2796a7c644db0a95beaa2681168ac2d597e3fc.tar.gz
slackbuilds-8b2796a7c644db0a95beaa2681168ac2d597e3fc.tar.xz
haskell/haskell-OpenGL: 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-OpenGL')
-rw-r--r--haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild b/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild
index 06d5a22768..eeea211955 100644
--- a/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild
+++ b/haskell/haskell-OpenGL/haskell-OpenGL.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