aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-tf-random
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:28 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:14 +0700
commit1bfbfa1640a653fe2a4fc43d22c372fc1bef1a3f (patch)
treed0210a6a8a1b589f78ad6196ef2cee7dacb2ecda /haskell/haskell-tf-random
parentb421d32055418d0c79b223b4f793f3cda03f02f5 (diff)
haskell/haskell-tf-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-tf-random')
-rw-r--r--haskell/haskell-tf-random/haskell-tf-random.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-tf-random/haskell-tf-random.SlackBuild b/haskell/haskell-tf-random/haskell-tf-random.SlackBuild
index 202d2e51ccdd3..8781f5fe23faa 100644
--- a/haskell/haskell-tf-random/haskell-tf-random.SlackBuild
+++ b/haskell/haskell-tf-random/haskell-tf-random.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