summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-setlocale
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:55 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:29 +0200
commit03907399962d9034afdb0e2058f1a9803ea8e62c (patch)
treea3ff8de3a8b9e11ffcaa39eeef3848b8e4cf4042 /haskell/haskell-setlocale
parent8246f67795909a92cb967eb7ad4f3ad8ced42fc6 (diff)
downloadslackbuilds-03907399962d9034afdb0e2058f1a9803ea8e62c.tar.gz
haskell/haskell-setlocale: 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-setlocale')
-rw-r--r--haskell/haskell-setlocale/haskell-setlocale.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-setlocale/haskell-setlocale.SlackBuild b/haskell/haskell-setlocale/haskell-setlocale.SlackBuild
index 6a61683697..bdc479c4a8 100644
--- a/haskell/haskell-setlocale/haskell-setlocale.SlackBuild
+++ b/haskell/haskell-setlocale/haskell-setlocale.SlackBuild
@@ -89,7 +89,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