summaryrefslogtreecommitdiff
path: root/haskell/haskell-half
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:00 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commita8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2 (patch)
treef959b5e178a8cba9d86ce0a68b66da0d4b26e208 /haskell/haskell-half
parent0c9109cd4d40dfc24d2de5d1dbf3cf6a06530af3 (diff)
downloadslackbuilds-a8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2.tar.gz
haskell/haskell-half: 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-half')
-rw-r--r--haskell/haskell-half/haskell-half.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-half/haskell-half.SlackBuild b/haskell/haskell-half/haskell-half.SlackBuild
index 8550502fe7..0b264cb6c5 100644
--- a/haskell/haskell-half/haskell-half.SlackBuild
+++ b/haskell/haskell-half/haskell-half.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