diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:59 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:31 +0700 |
commit | f1a6377dfb9985b62a5a0f156b131ed511907583 (patch) | |
tree | 5048e46ce9c47bf63d4fd6cee25ab56fa8f943ac | |
parent | 9cc103f1e31a446b2015a4d9f4323c153e9424fc (diff) | |
download | slackbuilds-f1a6377dfb9985b62a5a0f156b131ed511907583.tar.gz |
haskell/haskell-x509-validation: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild b/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild index dbc61707c2..8578631031 100644 --- a/haskell/haskell-x509-validation/haskell-x509-validation.SlackBuild +++ b/haskell/haskell-x509-validation/haskell-x509-validation.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 |