summaryrefslogtreecommitdiff
path: root/haskell/haskell-regex-tdfa
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:43 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:22 +0700
commit1787eef7e258385a5aba6b7124c491b9f85a3fb5 (patch)
treebe6f14012a8895f79f926213c95d98fec43f3a38 /haskell/haskell-regex-tdfa
parent5ffe62545f66357bcd0d842e244c295a1695a9f0 (diff)
downloadslackbuilds-1787eef7e258385a5aba6b7124c491b9f85a3fb5.tar.gz
haskell/haskell-regex-tdfa: 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-regex-tdfa')
-rw-r--r--haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
index 07dacbc50b..5fff8d8c45 100644
--- a/haskell/haskell-regex-tdfa/haskell-regex-tdfa.SlackBuild
+++ b/haskell/haskell-regex-tdfa/haskell-regex-tdfa.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