aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-aeson
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:49 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:25 +0700
commitc35902b9658fecea3e8385b66729701b70f90b96 (patch)
tree7e876b14b8ad95b08d510030f026341051168dbc /haskell/haskell-aeson
parentff131310315e42309dbb43c722edb93b5f58cfe6 (diff)
haskell/haskell-aeson: 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-aeson')
-rw-r--r--haskell/haskell-aeson/haskell-aeson.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-aeson/haskell-aeson.SlackBuild b/haskell/haskell-aeson/haskell-aeson.SlackBuild
index f97086259606a..2b75f97599747 100644
--- a/haskell/haskell-aeson/haskell-aeson.SlackBuild
+++ b/haskell/haskell-aeson/haskell-aeson.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