aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-regex-base/haskell-regex-base.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:23 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:45 +0700
commit505502f312350ce6279910fc0f54053513fde421 (patch)
tree6faa256d3d1caee049f28b564c6b6c635ae4eb88 /haskell/haskell-regex-base/haskell-regex-base.SlackBuild
parent6895c9b497c52eecc20b7048ca402949da873958 (diff)
haskell/haskell-regex-base: 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-base/haskell-regex-base.SlackBuild')
-rw-r--r--haskell/haskell-regex-base/haskell-regex-base.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-base/haskell-regex-base.SlackBuild b/haskell/haskell-regex-base/haskell-regex-base.SlackBuild
index f00daf8179fc..660691c52a3a 100644
--- a/haskell/haskell-regex-base/haskell-regex-base.SlackBuild
+++ b/haskell/haskell-regex-base/haskell-regex-base.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