diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:59 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:31 +0700 |
commit | 8fa8504ecab81a71af94b5746fbc41c781451eb8 (patch) | |
tree | 2a2d3e911dbd317bc9795feab5e28c7d8222b48f /haskell | |
parent | f1a6377dfb9985b62a5a0f156b131ed511907583 (diff) |
haskell/haskell-zip-archive: 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')
-rw-r--r-- | haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild b/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild index ba1abd4c56dde..53c18e7f50cb8 100644 --- a/haskell/haskell-zip-archive/haskell-zip-archive.SlackBuild +++ b/haskell/haskell-zip-archive/haskell-zip-archive.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 |