From 0fdf7683556f6c068527ae625851ea45e991f4e7 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 2 May 2021 16:35:47 +1200 Subject: haskell/xmonad-contrib: Fix build with ghc 8.10. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- haskell/xmonad-contrib/xmonad-contrib.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haskell/xmonad-contrib') 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 -- cgit v1.2.3