aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:19 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:09 +0700
commit8b2796a7c644db0a95beaa2681168ac2d597e3fc (patch)
tree134a45fdf75b088126328060ee5bbe1b48d08ba8 /haskell/haskell-OpenGL/haskell-OpenGL.SlackBuild
parent1115633084c44d6b3164198ebabd967e3aca4f45 (diff)
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/haskell-OpenGL.SlackBuild')
-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 06d5a227685c6..eeea2119557ad 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