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:15 +0700 |
commit | 05e4201cfb3ed1b1fc16203ee4a921410e994e07 (patch) | |
tree | d7458a0c611eacba9eec1547cd9181d57164ae75 /haskell/haskell-regex-compat-tdfa | |
parent | c798aba28b50392e698eff4a1c7df08b790a254a (diff) |
haskell/haskell-regex-compat-tdfa: 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-compat-tdfa')
-rw-r--r-- | haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild index 3347dfe0fab23..baea88b3d08a6 100644 --- a/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.SlackBuild +++ b/haskell/haskell-regex-compat-tdfa/haskell-regex-compat-tdfa.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 |