diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:23 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:45 +0700 |
commit | 505502f312350ce6279910fc0f54053513fde421 (patch) | |
tree | 6faa256d3d1caee049f28b564c6b6c635ae4eb88 /haskell/haskell-regex-base | |
parent | 6895c9b497c52eecc20b7048ca402949da873958 (diff) |
haskell/haskell-regex-base: 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-base')
-rw-r--r-- | haskell/haskell-regex-base/haskell-regex-base.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-base/haskell-regex-base.SlackBuild b/haskell/haskell-regex-base/haskell-regex-base.SlackBuild index f00daf8179fcf..660691c52a3a5 100644 --- a/haskell/haskell-regex-base/haskell-regex-base.SlackBuild +++ b/haskell/haskell-regex-base/haskell-regex-base.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 |