summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:21 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:43 +0200
commit8a0f7073b0bae7468083a3b090dc609cb2123508 (patch)
tree4466234e71de43e49ec1522034d431831be5ff42 /haskell
parentfdd48bf994b2212e7517b02b8009afbd1160e992 (diff)
downloadslackbuilds-8a0f7073b0bae7468083a3b090dc609cb2123508.tar.gz
haskell/haskell-path-pieces: 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-path-pieces/haskell-path-pieces.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-path-pieces/haskell-path-pieces.SlackBuild b/haskell/haskell-path-pieces/haskell-path-pieces.SlackBuild
index f3386eb638..9f985e0f83 100644
--- a/haskell/haskell-path-pieces/haskell-path-pieces.SlackBuild
+++ b/haskell/haskell-path-pieces/haskell-path-pieces.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