aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-cereal/haskell-cereal.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:21 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:10 +0700
commit733f9495ed1322c90c782a30f8ec49e640b56f3c (patch)
tree78e2c552c8af5915aba163c120a211c7ab7a7ce5 /haskell/haskell-cereal/haskell-cereal.SlackBuild
parent13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d (diff)
haskell/haskell-cereal: 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-cereal/haskell-cereal.SlackBuild')
-rw-r--r--haskell/haskell-cereal/haskell-cereal.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cereal/haskell-cereal.SlackBuild b/haskell/haskell-cereal/haskell-cereal.SlackBuild
index c745204b8180..921d3bf48979 100644
--- a/haskell/haskell-cereal/haskell-cereal.SlackBuild
+++ b/haskell/haskell-cereal/haskell-cereal.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