aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-comonad
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:51 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:27 +0700
commita0880594dba49519258b6ceb1575499668c7499d (patch)
tree324a25e8536be1a940c387ef2fdb079ceb1a33ba /haskell/haskell-comonad
parent49035fba08ac597378b93917c3f782612099ba2b (diff)
haskell/haskell-comonad: 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-comonad')
-rw-r--r--haskell/haskell-comonad/haskell-comonad.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-comonad/haskell-comonad.SlackBuild b/haskell/haskell-comonad/haskell-comonad.SlackBuild
index 2dd930b7675f6..73ab5f6f21794 100644
--- a/haskell/haskell-comonad/haskell-comonad.SlackBuild
+++ b/haskell/haskell-comonad/haskell-comonad.SlackBuild
@@ -89,7 +89,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