summaryrefslogtreecommitdiff
path: root/haskell/haskell-hxt
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:20 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:43 +0700
commitfdd48bf994b2212e7517b02b8009afbd1160e992 (patch)
tree7278773ae756768be5875f9ece9b3a31701e3db1 /haskell/haskell-hxt
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/haskell-hxt')
-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