summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:35 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:17 +0700
commit69f70d418fe4f0716a6ddd75871667a2bb5a5f35 (patch)
tree9e3502f5e1834c39f22772054806eb2ab1f93b0d
parent3b8d4649efc0872838c9f358af7447a19feb91d9 (diff)
downloadslackbuilds-69f70d418fe4f0716a6ddd75871667a2bb5a5f35.tar.gz
haskell/haskell-unicode-transforms: 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-unicode-transforms/haskell-unicode-transforms.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unicode-transforms/haskell-unicode-transforms.SlackBuild b/haskell/haskell-unicode-transforms/haskell-unicode-transforms.SlackBuild
index 652c61d55f..8101775927 100644
--- a/haskell/haskell-unicode-transforms/haskell-unicode-transforms.SlackBuild
+++ b/haskell/haskell-unicode-transforms/haskell-unicode-transforms.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