summaryrefslogtreecommitdiff
path: root/haskell/xmonad-contrib
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:47 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:25 +0700
commit0fdf7683556f6c068527ae625851ea45e991f4e7 (patch)
tree3816696a6e461d5a4d958bedeb18792a4f393343 /haskell/xmonad-contrib
parenta71931f2deb31269dfaa5e669f3733d099f8e336 (diff)
downloadslackbuilds-0fdf7683556f6c068527ae625851ea45e991f4e7.tar.gz
haskell/xmonad-contrib: 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/xmonad-contrib')
-rw-r--r--haskell/xmonad-contrib/xmonad-contrib.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
index 605730cfdc..34501afea3 100644
--- a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
+++ b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
@@ -88,7 +88,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: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf