aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:58 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:30 +0700
commit9ce9a071f75d8592aaf5cc708fdae5f22c73cdb6 (patch)
treec1170682c0bb4577bc65772d34c94f1ea7301181
parent5aab18b4279a13ce17706fa3cdf91e9391714058 (diff)
haskell/haskell-utf8-string: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild b/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild
index fb860ef67a78..63aac743698b 100644
--- a/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild
+++ b/haskell/haskell-utf8-string/haskell-utf8-string.SlackBuild
@@ -93,7 +93,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