aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-strict
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:27 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:13 +0700
commitfa4ad166e04a8f1cb8b175335f69905606a1b84a (patch)
tree49fcb52cf1cbb20b0e2c5deda4fdb9585e15b4fc /haskell/haskell-strict
parent14ea59facecf435bbeee43244fd6d04b1e09eac1 (diff)
haskell/haskell-strict: 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-strict')
-rw-r--r--haskell/haskell-strict/haskell-strict.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-strict/haskell-strict.SlackBuild b/haskell/haskell-strict/haskell-strict.SlackBuild
index e3f5a663459d..d0c194753c3d 100644
--- a/haskell/haskell-strict/haskell-strict.SlackBuild
+++ b/haskell/haskell-strict/haskell-strict.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