summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-http-types
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:19 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:43 +0200
commit672be8aac29ea092672538a19947cc0827a8da41 (patch)
tree94522574efc9c987bc548a79322f5e78c7119c86 /haskell/haskell-http-types
parent914fb57d7c3529f4863eac96cb2f62afec3bd9b6 (diff)
downloadslackbuilds-672be8aac29ea092672538a19947cc0827a8da41.tar.gz
haskell/haskell-http-types: 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-types')
-rw-r--r--haskell/haskell-http-types/haskell-http-types.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-types/haskell-http-types.SlackBuild b/haskell/haskell-http-types/haskell-http-types.SlackBuild
index bf3e6ab776..337bcfad09 100644
--- a/haskell/haskell-http-types/haskell-http-types.SlackBuild
+++ b/haskell/haskell-http-types/haskell-http-types.SlackBuild
@@ -90,7 +90,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