diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:17 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:08 +0700 |
commit | 0b0b8eb2c1db3ef6681639debbf29940e3401ca6 (patch) | |
tree | f352d9a869096e06b28d97c0fbe419725f5ad440 | |
parent | 7b3c714eef1e5fc9003f5dbc2f639ed5ee01afe8 (diff) |
haskell/haskell-resolv: 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-resolv/haskell-resolv.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-resolv/haskell-resolv.SlackBuild b/haskell/haskell-resolv/haskell-resolv.SlackBuild index bb927976e31f..372239ecc628 100644 --- a/haskell/haskell-resolv/haskell-resolv.SlackBuild +++ b/haskell/haskell-resolv/haskell-resolv.SlackBuild @@ -92,7 +92,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 |