aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-hxt-unicode
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:11 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:38 +0700
commitf104076bc6c72f3c95f378946c0235dea3f7bd7c (patch)
treeb1274edf6b26f212aabddc58465f516b5d5c3286 /haskell/haskell-hxt-unicode
parent514b52d04e91b38f6337dd81d7bfce0795217405 (diff)
haskell/haskell-hxt-unicode: 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-hxt-unicode')
-rw-r--r--haskell/haskell-hxt-unicode/haskell-hxt-unicode.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hxt-unicode/haskell-hxt-unicode.SlackBuild b/haskell/haskell-hxt-unicode/haskell-hxt-unicode.SlackBuild
index 1afe494c4d22..85a2d0104aa2 100644
--- a/haskell/haskell-hxt-unicode/haskell-hxt-unicode.SlackBuild
+++ b/haskell/haskell-hxt-unicode/haskell-hxt-unicode.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