aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-case-insensitive
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:51 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:26 +0700
commite3e397ac3a510c4ccaffc8b2b60953652505bc27 (patch)
tree0ddb067d8114528f6ae5cc6cdae1f0ce760d1b4e /haskell/haskell-case-insensitive
parentf076f6bf84d698244e5f5bd304eee1555c029db0 (diff)
haskell/haskell-case-insensitive: 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-case-insensitive')
-rw-r--r--haskell/haskell-case-insensitive/haskell-case-insensitive.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-case-insensitive/haskell-case-insensitive.SlackBuild b/haskell/haskell-case-insensitive/haskell-case-insensitive.SlackBuild
index 9b2a6ada25d47..0f5330225cb34 100644
--- a/haskell/haskell-case-insensitive/haskell-case-insensitive.SlackBuild
+++ b/haskell/haskell-case-insensitive/haskell-case-insensitive.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