aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-either/haskell-either.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:05 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:34 +0700
commite0c79c31939991618c92d3dc6a55231f355529a0 (patch)
tree9537269824351a16b69e528f4efde3bad0300669 /haskell/haskell-either/haskell-either.SlackBuild
parentfa98057875e6deec4b126eab453ce4b417a69be6 (diff)
haskell/haskell-either: 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-either/haskell-either.SlackBuild')
-rw-r--r--haskell/haskell-either/haskell-either.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-either/haskell-either.SlackBuild b/haskell/haskell-either/haskell-either.SlackBuild
index 92c92110b27b..0b5c4c3d9482 100644
--- a/haskell/haskell-either/haskell-either.SlackBuild
+++ b/haskell/haskell-either/haskell-either.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