diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:31 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:16 +0700 |
commit | 9b9a56d2e9c2bbd4990f671524adef813dc523eb (patch) | |
tree | 3a3d6ca7b5a590f7d0a90b1d639edddfb88d1dde /haskell/haskell-regex-posix | |
parent | 05e4201cfb3ed1b1fc16203ee4a921410e994e07 (diff) |
haskell/haskell-regex-posix: 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-regex-posix')
-rw-r--r-- | haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild b/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild index 6fdbc8248bf6f..3815fe98cdd66 100644 --- a/haskell/haskell-regex-posix/haskell-regex-posix.SlackBuild +++ b/haskell/haskell-regex-posix/haskell-regex-posix.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 |