diff options
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 |
commit | a63d246e65a63f43dccf3dd9c2799d0b0994e5ab (patch) | |
tree | 300a3646d0bdc437f7f53e6419bcd53b7ba051dc | |
parent | a07d547b987b1c1dc79bf9d3d7c7d8ddc653ad8e (diff) |
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>
-rw-r--r-- | haskell/haskell-generic-deriving/haskell-generic-deriving.SlackBuild | 2 |
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 66641e02f045..50b0e0dc8b28 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 |