summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-unix-compat
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:46 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:24 +0200
commit8b6a41966694cc757d0e9acef4fdcf44f2cbd69f (patch)
tree60615e52d3e9d39540e9910ab498fe52160e632d /haskell/haskell-unix-compat
parent50f9ccf18be312230f6a45bad63a27ab1ccd8d89 (diff)
downloadslackbuilds-8b6a41966694cc757d0e9acef4fdcf44f2cbd69f.tar.gz
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>
Diffstat (limited to 'haskell/haskell-unix-compat')
-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