summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:46 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:24 +0700
commit8b6a41966694cc757d0e9acef4fdcf44f2cbd69f (patch)
tree60615e52d3e9d39540e9910ab498fe52160e632d
parent50f9ccf18be312230f6a45bad63a27ab1ccd8d89 (diff)
downloadslackbuilds-8b6a41966694cc757d0e9acef4fdcf44f2cbd69f.tar.gz
slackbuilds-8b6a41966694cc757d0e9acef4fdcf44f2cbd69f.tar.xz
haskell/haskell-unix-compat: 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-unix-compat/haskell-unix-compat.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild b/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild
index a333c6a5f9..3f260ab7ad 100644
--- a/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild
+++ b/haskell/haskell-unix-compat/haskell-unix-compat.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