aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:14 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:40 +0700
commit9cf1849b14f0b7ed334c3a3f0ee1be146d78e95b (patch)
tree5ed705f02d25d49b5618d99b5cd661793c7d8ce5 /haskell
parent1c8a57092e580f01df565288ff05918ee790b602 (diff)
haskell/haskell-hourglass: 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')
-rw-r--r--haskell/haskell-hourglass/haskell-hourglass.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hourglass/haskell-hourglass.SlackBuild b/haskell/haskell-hourglass/haskell-hourglass.SlackBuild
index a331b595feb2..29478b162377 100644
--- a/haskell/haskell-hourglass/haskell-hourglass.SlackBuild
+++ b/haskell/haskell-hourglass/haskell-hourglass.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