aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-data-default-class
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:29 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:15 +0700
commitc7339f7926f92390a9081c493c6889aecc84b547 (patch)
tree5b78f3c1b7db6a4824ca904cab5e7eef484d4e8d /haskell/haskell-data-default-class
parent439e806c0258d1eb60fd51204fcc9475a20464f3 (diff)
haskell/haskell-data-default-class: 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-class')
-rw-r--r--haskell/haskell-data-default-class/haskell-data-default-class.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-data-default-class/haskell-data-default-class.SlackBuild b/haskell/haskell-data-default-class/haskell-data-default-class.SlackBuild
index 59e76bdb8b105..34bb55f4c9c29 100644
--- a/haskell/haskell-data-default-class/haskell-data-default-class.SlackBuild
+++ b/haskell/haskell-data-default-class/haskell-data-default-class.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