aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-tls
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:34 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:17 +0700
commit3b8d4649efc0872838c9f358af7447a19feb91d9 (patch)
tree082782fb388120fb45534ed38103099ce9f0e1a3 /haskell/haskell-tls
parent6ec098289efac77a6fcc7fb82546ee12bda18eed (diff)
haskell/haskell-tls: 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-tls')
-rw-r--r--haskell/haskell-tls/haskell-tls.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-tls/haskell-tls.SlackBuild b/haskell/haskell-tls/haskell-tls.SlackBuild
index eca7df7527df..5e3e31683bc9 100644
--- a/haskell/haskell-tls/haskell-tls.SlackBuild
+++ b/haskell/haskell-tls/haskell-tls.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