diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:16 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:41 +0700 |
commit | eae1a54c6002251bece6628900708656f3d5cab5 (patch) | |
tree | e6ad4fb690089413f9feb25e6e92d7bc1d98ad18 /haskell | |
parent | da7e350297e77b52797aa47bbb112732bfbb670d (diff) |
haskell/haskell-multipart: 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-multipart/haskell-multipart.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-multipart/haskell-multipart.SlackBuild b/haskell/haskell-multipart/haskell-multipart.SlackBuild index c14f9844f051..bd6173830920 100644 --- a/haskell/haskell-multipart/haskell-multipart.SlackBuild +++ b/haskell/haskell-multipart/haskell-multipart.SlackBuild @@ -89,7 +89,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 |