summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:43 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:22 +0700
commit5ffe62545f66357bcd0d842e244c295a1695a9f0 (patch)
treea81f001dbd15b75fde2802dd1210597c55dd7573 /haskell
parent6597646cb8456794dd97eccb3be0ead63667b872 (diff)
downloadslackbuilds-5ffe62545f66357bcd0d842e244c295a1695a9f0.tar.gz
slackbuilds-5ffe62545f66357bcd0d842e244c295a1695a9f0.tar.xz
haskell/haskell-regex-compat: 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-regex-compat/haskell-regex-compat.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild b/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild
index 0e965c3125..08d7aa751c 100644
--- a/haskell/haskell-regex-compat/haskell-regex-compat.SlackBuild
+++ b/haskell/haskell-regex-compat/haskell-regex-compat.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