diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:06 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:35 +0700 |
commit | 8210fad4473aef5da2025ce666ed2db902165502 (patch) | |
tree | b1b6d4d75692ddb785de19f1cc88651aed550975 /haskell/haskell-infer-license/haskell-infer-license.SlackBuild | |
parent | 672e33fc476d110b5c4d5d327f8acb2c38085c6d (diff) |
haskell/haskell-infer-license: 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-infer-license/haskell-infer-license.SlackBuild')
-rw-r--r-- | haskell/haskell-infer-license/haskell-infer-license.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-infer-license/haskell-infer-license.SlackBuild b/haskell/haskell-infer-license/haskell-infer-license.SlackBuild index fb3077ded9692..f4badb8096dd9 100644 --- a/haskell/haskell-infer-license/haskell-infer-license.SlackBuild +++ b/haskell/haskell-infer-license/haskell-infer-license.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 |