summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-generic-deriving
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:54 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:28 +0700
commita63d246e65a63f43dccf3dd9c2799d0b0994e5ab (patch)
tree300a3646d0bdc437f7f53e6419bcd53b7ba051dc /haskell/haskell-generic-deriving
parenta07d547b987b1c1dc79bf9d3d7c7d8ddc653ad8e (diff)
downloadslackbuilds-a63d246e65a63f43dccf3dd9c2799d0b0994e5ab.tar.gz
slackbuilds-a63d246e65a63f43dccf3dd9c2799d0b0994e5ab.tar.xz
haskell/haskell-generic-deriving: 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-generic-deriving')
-rw-r--r--haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild b/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild
index 66641e02f0..50b0e0dc8b 100644
--- a/haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild
+++ b/haskell/haskell-generic-deriving/haskell-generic-deriving.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