summaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:19 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:42 +0700
commit914fb57d7c3529f4863eac96cb2f62afec3bd9b6 (patch)
tree635abe788a4ce50d1efcdaf473135bc494490124 /haskell
parent58972b9cba4427d2041afb8897e61c95e9595ecc (diff)
downloadslackbuilds-914fb57d7c3529f4863eac96cb2f62afec3bd9b6.tar.gz
haskell/haskell-monads-tf: 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')
-rw-r--r--haskell/haskell-monads-tf/haskell-monads-tf.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-monads-tf/haskell-monads-tf.SlackBuild b/haskell/haskell-monads-tf/haskell-monads-tf.SlackBuild
index aa782d3422..716e7902da 100644
--- a/haskell/haskell-monads-tf/haskell-monads-tf.SlackBuild
+++ b/haskell/haskell-monads-tf/haskell-monads-tf.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