diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:57 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:30 +0700 |
commit | 987f2b591259813c47e00efda7601801b9957328 (patch) | |
tree | b6851a14159976e2dab4e799f0e3b5d24e3e9297 /haskell/haskell-text-metrics | |
parent | d91a2b2b2d204268507d55eacaa806f881efdbca (diff) |
haskell/haskell-text-metrics: 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-text-metrics')
-rw-r--r-- | haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild b/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild index f18d9c9cb227d..49f8bb3a9eaac 100644 --- a/haskell/haskell-text-metrics/haskell-text-metrics.SlackBuild +++ b/haskell/haskell-text-metrics/haskell-text-metrics.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 |