aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commit61ccb052e6e24193ff174445af31893e5fafd0a5 (patch)
tree0205c86ac1d35e58f6630e3f3e5e0b6049d4520d
parentc8bac2309559f106ee72959e801e97893fa8c830 (diff)
haskell/haskell-file-embed: 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-file-embed/haskell-file-embed.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-file-embed/haskell-file-embed.SlackBuild b/haskell/haskell-file-embed/haskell-file-embed.SlackBuild
index 15113f2445db..6f16fb206839 100644
--- a/haskell/haskell-file-embed/haskell-file-embed.SlackBuild
+++ b/haskell/haskell-file-embed/haskell-file-embed.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