diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:08 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:36 +0700 |
commit | 06dcd6e935bb7b3502446b9876f839168eda37bb (patch) | |
tree | efe5987f403cc3fa26d57739c46fbe18b197602c /haskell/haskell-filemanip | |
parent | d588ba09424a780d0dfb6b04dda4f7e5b8a8c0ab (diff) |
haskell/haskell-filemanip: 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-filemanip')
-rw-r--r-- | haskell/haskell-filemanip/haskell-filemanip.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-filemanip/haskell-filemanip.SlackBuild b/haskell/haskell-filemanip/haskell-filemanip.SlackBuild index c962c928451eb..b0b967879a807 100644 --- a/haskell/haskell-filemanip/haskell-filemanip.SlackBuild +++ b/haskell/haskell-filemanip/haskell-filemanip.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 |