aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:20 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:43 +0700
commitedc5dd5df09e5c5377d4ab2b5b1dc093a3192385 (patch)
tree83e42651d932f96cc8e1145242e1c3b2305456fa /haskell
parentac33c72c0a3638a457c2d1682423c15b5e1996ed (diff)
haskell/haskell-persistent: 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-persistent/haskell-persistent.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-persistent/haskell-persistent.SlackBuild b/haskell/haskell-persistent/haskell-persistent.SlackBuild
index f4eb6931be77..e18d7758ac15 100644
--- a/haskell/haskell-persistent/haskell-persistent.SlackBuild
+++ b/haskell/haskell-persistent/haskell-persistent.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