diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:27 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:13 +0700 |
commit | 3a114b12f995e88d938ce52eede2c0c106d34813 (patch) | |
tree | 439070a58c247bb999647e7c5d28e6e61a492b4e /haskell/haskell-tar/haskell-tar.SlackBuild | |
parent | eaa4290810ed39a3ae680da4dd3be6139e3d004b (diff) |
haskell/haskell-tar: 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-tar/haskell-tar.SlackBuild')
-rw-r--r-- | haskell/haskell-tar/haskell-tar.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-tar/haskell-tar.SlackBuild b/haskell/haskell-tar/haskell-tar.SlackBuild index 1b6e0a91ef0a..e2349a15e56a 100644 --- a/haskell/haskell-tar/haskell-tar.SlackBuild +++ b/haskell/haskell-tar/haskell-tar.SlackBuild @@ -90,7 +90,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 |