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