summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-multipart
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:16 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:41 +0200
commiteae1a54c6002251bece6628900708656f3d5cab5 (patch)
treee6ad4fb690089413f9feb25e6e92d7bc1d98ad18 /haskell/haskell-multipart
parentda7e350297e77b52797aa47bbb112732bfbb670d (diff)
downloadslackbuilds-eae1a54c6002251bece6628900708656f3d5cab5.tar.gz
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 c14f9844f0..bd61738309 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