aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-random
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:31 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:15 +0700
commitc798aba28b50392e698eff4a1c7df08b790a254a (patch)
treeafbfd95324f6692b669680d3b6df7599cc57e304 /haskell/haskell-random
parent6eae759454e023360561b459885bc085c76e5090 (diff)
haskell/haskell-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-random')
-rw-r--r--haskell/haskell-random/haskell-random.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-random/haskell-random.SlackBuild b/haskell/haskell-random/haskell-random.SlackBuild
index 3ee151761ef0d..6e131d7a74131 100644
--- a/haskell/haskell-random/haskell-random.SlackBuild
+++ b/haskell/haskell-random/haskell-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