summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-unordered-containers
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:47 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:24 +0700
commit84bbe31249d8efd76c48bdd79e3e91561ca20432 (patch)
tree99e66a97c5907de108fe45eb5a39fd1f75995245 /haskell/haskell-unordered-containers
parent8b6a41966694cc757d0e9acef4fdcf44f2cbd69f (diff)
downloadslackbuilds-84bbe31249d8efd76c48bdd79e3e91561ca20432.tar.gz
slackbuilds-84bbe31249d8efd76c48bdd79e3e91561ca20432.tar.xz
haskell/haskell-unordered-containers: 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-unordered-containers')
-rw-r--r--haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild b/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild
index 1af12af067..5727559a0b 100644
--- a/haskell/haskell-unordered-containers/haskell-unordered-containers.SlackBuild
+++ b/haskell/haskell-unordered-containers/haskell-unordered-containers.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