aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-securemem
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:55 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commit8246f67795909a92cb967eb7ad4f3ad8ced42fc6 (patch)
tree5adf41e7282446b965dbbb32dca5212d81aaa2c6 /haskell/haskell-securemem
parent4d2a20bfef3530e98c64ade7b913b9c6b6966777 (diff)
haskell/haskell-securemem: 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-securemem')
-rw-r--r--haskell/haskell-securemem/haskell-securemem.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-securemem/haskell-securemem.SlackBuild b/haskell/haskell-securemem/haskell-securemem.SlackBuild
index 4337fc5e743c8..27d52af4c822b 100644
--- a/haskell/haskell-securemem/haskell-securemem.SlackBuild
+++ b/haskell/haskell-securemem/haskell-securemem.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