summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:20 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:43 +0200
commitfdd48bf994b2212e7517b02b8009afbd1160e992 (patch)
tree7278773ae756768be5875f9ece9b3a31701e3db1 /haskell
parente02ed58edd6f103c1e272db0cca1a46e8d16b574 (diff)
downloadslackbuilds-fdd48bf994b2212e7517b02b8009afbd1160e992.tar.gz
haskell/haskell-hxt: 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')
-rw-r--r--haskell/haskell-hxt/haskell-hxt.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hxt/haskell-hxt.SlackBuild b/haskell/haskell-hxt/haskell-hxt.SlackBuild
index aa9777ce63..81c2712ba6 100644
--- a/haskell/haskell-hxt/haskell-hxt.SlackBuild
+++ b/haskell/haskell-hxt/haskell-hxt.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