aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-http-conduit
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:10 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:37 +0700
commitf7a9ae098fa6de28a3d69fb06efefa4ab94cdf23 (patch)
treeac274942dc66f1ac5d98c1b94d56867d7668148a /haskell/haskell-http-conduit
parent567e5f2a620da79d04732de75a158087f63a7980 (diff)
haskell/haskell-http-conduit: 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-http-conduit')
-rw-r--r--haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild b/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild
index efdb1bfa74624..d2369921d0360 100644
--- a/haskell/haskell-http-conduit/haskell-http-conduit.SlackBuild
+++ b/haskell/haskell-http-conduit/haskell-http-conduit.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