aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-hackage-security
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:03 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:33 +0700
commitbcaabfb8b56e10d6d03a8a4dd2c948f8d61d426f (patch)
tree3ed6a83efdc833e746dc810ce8d3ebb496be7b4f /haskell/haskell-hackage-security
parentf8bd2b085a211e85e253d06b7acaab043e95daa2 (diff)
haskell/haskell-hackage-security: 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-hackage-security')
-rw-r--r--haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild b/haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild
index b46996d83736..920fb47ad11e 100644
--- a/haskell/haskell-hackage-security/haskell-hackage-security.SlackBuild
+++ b/haskell/haskell-hackage-security/haskell-hackage-security.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