summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-fsnotify
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:09 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:37 +0200
commit0a681011c2b1a26bda2a5b7c01a251f61213ed97 (patch)
tree7ddcea7034d0bba54db68f0b1e43001b90394f21 /haskell/haskell-fsnotify
parent4a5e341c37dedef4f49b9f985b7ee967f653cd7c (diff)
downloadslackbuilds-0a681011c2b1a26bda2a5b7c01a251f61213ed97.tar.gz
haskell/haskell-fsnotify: 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-fsnotify')
-rw-r--r--haskell/haskell-fsnotify/haskell-fsnotify.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-fsnotify/haskell-fsnotify.SlackBuild b/haskell/haskell-fsnotify/haskell-fsnotify.SlackBuild
index 8022b631c5..da1b5e34b9 100644
--- a/haskell/haskell-fsnotify/haskell-fsnotify.SlackBuild
+++ b/haskell/haskell-fsnotify/haskell-fsnotify.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