diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:24 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:12 +0700 |
commit | c8bac2309559f106ee72959e801e97893fa8c830 (patch) | |
tree | 7a64d699dfdc65e80b584b55f8d91562845820c1 /haskell | |
parent | 9beb9f5e25aabe5dfd28d19825cb5a63461c1254 (diff) |
haskell/haskell-extra: 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')
-rw-r--r-- | haskell/haskell-extra/haskell-extra.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-extra/haskell-extra.SlackBuild b/haskell/haskell-extra/haskell-extra.SlackBuild index 521b69f49fe2..cc26fd61493c 100644 --- a/haskell/haskell-extra/haskell-extra.SlackBuild +++ b/haskell/haskell-extra/haskell-extra.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 |