aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-data-default-instances-old-locale
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:30 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:15 +0700
commit9e11967c52f350a789de30ccc52d1098cb8cf5c5 (patch)
treea3da36a2f43bd849d88b242052082cf7914d71cb /haskell/haskell-data-default-instances-old-locale
parentc7339f7926f92390a9081c493c6889aecc84b547 (diff)
haskell/haskell-deepseq-generics: 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-data-default-instances-old-locale')
-rw-r--r--haskell/haskell-data-default-instances-old-locale/haskell-data-default-instances-old-locale.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-data-default-instances-old-locale/haskell-data-default-instances-old-locale.SlackBuild b/haskell/haskell-data-default-instances-old-locale/haskell-data-default-instances-old-locale.SlackBuild
index 8dbc5583f96b9..30d1013697ce4 100644
--- a/haskell/haskell-data-default-instances-old-locale/haskell-data-default-instances-old-locale.SlackBuild
+++ b/haskell/haskell-data-default-instances-old-locale/haskell-data-default-instances-old-locale.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