aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-unicode-transforms
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 /haskell/haskell-unicode-transforms
parent3b8d4649efc0872838c9f358af7447a19feb91d9 (diff)
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>
Diffstat (limited to 'haskell/haskell-unicode-transforms')
-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 652c61d55fde..8101775927a9 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