summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-texmath
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:34 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:17 +0700
commit20404b5643ba8bb5a553278bfe44177d481c12c7 (patch)
treedb28ae776cc23636897104af3dcb0ca699f20d4c /haskell/haskell-texmath
parenta85f9738768ca0b7c74021da00070e2d21894aaf (diff)
downloadslackbuilds-20404b5643ba8bb5a553278bfe44177d481c12c7.tar.gz
slackbuilds-20404b5643ba8bb5a553278bfe44177d481c12c7.tar.xz
haskell/haskell-texmath: 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-texmath')
-rw-r--r--haskell/haskell-texmath/haskell-texmath.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-texmath/haskell-texmath.SlackBuild b/haskell/haskell-texmath/haskell-texmath.SlackBuild
index 5e2bd7df80..4eae78d9e9 100644
--- a/haskell/haskell-texmath/haskell-texmath.SlackBuild
+++ b/haskell/haskell-texmath/haskell-texmath.SlackBuild
@@ -91,7 +91,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