diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:24 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:12 +0700 |
commit | 9beb9f5e25aabe5dfd28d19825cb5a63461c1254 (patch) | |
tree | aca342715e987b42c297624ad036e4adc22147aa /haskell/haskell-env-locale | |
parent | 96e2797a2dbb689a12a44a7e7a9229821af56e6a (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.SlackBuild | 2 |
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 188803ac5d09d..2b4c2abee1b64 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 |