summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:05 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:34 +0200
commit02af1f0df4fe6cbaf24de296188d0cffeb97f084 (patch)
treea85149fb077c3c4abe46b6689ab9e42b65dc7e11 /haskell
parent7039bab6b6287bab4a11122f4f4be289167d6162 (diff)
downloadslackbuilds-02af1f0df4fe6cbaf24de296188d0cffeb97f084.tar.gz
haskell/haskell-hxt-regex-xmlschema: 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-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild b/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild
index 59bde63592..6342d60581 100644
--- a/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild
+++ b/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.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