summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:46 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:24 +0700
commit7d66a248abe1eb2919cd77b1978abdf5bdba0715 (patch)
treee7c7c61735fe043ea22bd6cd1a5235dc2b444c6d /haskell
parent279c32c254f83209ad8db4ac6fcceba0f43654fd (diff)
downloadslackbuilds-7d66a248abe1eb2919cd77b1978abdf5bdba0715.tar.gz
slackbuilds-7d66a248abe1eb2919cd77b1978abdf5bdba0715.tar.xz
haskell/haskell-th-reify-many: 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-th-reify-many/haskell-th-reify-many.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild b/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild
index b15390f383..223a67ea8b 100644
--- a/haskell/haskell-th-reify-many/haskell-th-reify-many.SlackBuild
+++ b/haskell/haskell-th-reify-many/haskell-th-reify-many.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