summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:32 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:16 +0700
commit9f68ae7fd7dd153077acd50c3ee87086b19bca38 (patch)
tree23f3df4ab112e7214db9c813a6183b437823436c
parent483dd094e198ab3e2f14f7a21194f2ce578a06bc (diff)
downloadslackbuilds-9f68ae7fd7dd153077acd50c3ee87086b19bca38.tar.gz
slackbuilds-9f68ae7fd7dd153077acd50c3ee87086b19bca38.tar.xz
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>
-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 5c390e7f5a..a795897350 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