aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-multipart
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:16 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:41 +0700
commiteae1a54c6002251bece6628900708656f3d5cab5 (patch)
treee6ad4fb690089413f9feb25e6e92d7bc1d98ad18 /haskell/haskell-multipart
parentda7e350297e77b52797aa47bbb112732bfbb670d (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/haskell-multipart')
-rw-r--r--haskell/haskell-multipart/haskell-multipart.SlackBuild2
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