diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:21 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:10 +0700 |
commit | 733f9495ed1322c90c782a30f8ec49e640b56f3c (patch) | |
tree | 78e2c552c8af5915aba163c120a211c7ab7a7ce5 /haskell/haskell-cereal | |
parent | 13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d (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')
-rw-r--r-- | haskell/haskell-cereal/haskell-cereal.SlackBuild | 2 |
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 |