aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-env-locale
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commit9beb9f5e25aabe5dfd28d19825cb5a63461c1254 (patch)
treeaca342715e987b42c297624ad036e4adc22147aa /haskell/haskell-env-locale
parent96e2797a2dbb689a12a44a7e7a9229821af56e6a (diff)
haskell/haskell-env-locale: 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-env-locale')
-rw-r--r--haskell/haskell-env-locale/haskell-env-locale.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-env-locale/haskell-env-locale.SlackBuild b/haskell/haskell-env-locale/haskell-env-locale.SlackBuild
index 188803ac5d09..2b4c2abee1b6 100644
--- a/haskell/haskell-env-locale/haskell-env-locale.SlackBuild
+++ b/haskell/haskell-env-locale/haskell-env-locale.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