summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-hinotify
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:59 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commita468cd0863581c5f8d6be1e6dee15a34b9e0ea89 (patch)
treead91e963eb4fbf0ec1ddd003b12ed2d52ec9c88c /haskell/haskell-hinotify
parent8fa8504ecab81a71af94b5746fbc41c781451eb8 (diff)
downloadslackbuilds-a468cd0863581c5f8d6be1e6dee15a34b9e0ea89.tar.gz
slackbuilds-a468cd0863581c5f8d6be1e6dee15a34b9e0ea89.tar.xz
haskell/haskell-hinotify: 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-hinotify')
-rw-r--r--haskell/haskell-hinotify/haskell-hinotify.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hinotify/haskell-hinotify.SlackBuild b/haskell/haskell-hinotify/haskell-hinotify.SlackBuild
index 77df3c03ae..1c573dd5dc 100644
--- a/haskell/haskell-hinotify/haskell-hinotify.SlackBuild
+++ b/haskell/haskell-hinotify/haskell-hinotify.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