summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-crypto-random
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:52 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:27 +0700
commitf275c323608e16d0880ee5196ba453d988a1bdbd (patch)
treecf7f7142ac24f1d26daf90cbd0acf787d3f6fe86 /haskell/haskell-crypto-random
parente98bb2cb427e252218a724d536936741934b0460 (diff)
downloadslackbuilds-f275c323608e16d0880ee5196ba453d988a1bdbd.tar.gz
slackbuilds-f275c323608e16d0880ee5196ba453d988a1bdbd.tar.xz
haskell/haskell-crypto-random: 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-crypto-random')
-rw-r--r--haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild b/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild
index f3d684b79a..01f9380005 100644
--- a/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild
+++ b/haskell/haskell-crypto-random/haskell-crypto-random.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