diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:07 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:35 +0700 |
commit | 7544cd21a352a2a51d74d49fb490d7704d97c4bc (patch) | |
tree | 2ef33a102195800dc21171bc6f781110ee93ac1d /haskell/haskell-zlib | |
parent | 8210fad4473aef5da2025ce666ed2db902165502 (diff) |
haskell/haskell-zlib: 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-zlib')
-rw-r--r-- | haskell/haskell-zlib/haskell-zlib.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-zlib/haskell-zlib.SlackBuild b/haskell/haskell-zlib/haskell-zlib.SlackBuild index d24f53f185dd9..d45c32ea787db 100644 --- a/haskell/haskell-zlib/haskell-zlib.SlackBuild +++ b/haskell/haskell-zlib/haskell-zlib.SlackBuild @@ -91,7 +91,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 |