diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:37 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:19 +0700 |
commit | 784d3f7c871bf217d0d0a7210a1fb5d319c8c224 (patch) | |
tree | 41f70956729e97e1d2540953c25503d783e28efa /haskell/haskell-Tensor | |
parent | fda9b08245412b283fff31ef0072d44f01196ae5 (diff) |
haskell/haskell-Tensor: 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-Tensor')
-rw-r--r-- | haskell/haskell-Tensor/haskell-Tensor.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-Tensor/haskell-Tensor.SlackBuild b/haskell/haskell-Tensor/haskell-Tensor.SlackBuild index 99c1c5ab0fd1d..d0a0a546bf337 100644 --- a/haskell/haskell-Tensor/haskell-Tensor.SlackBuild +++ b/haskell/haskell-Tensor/haskell-Tensor.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 |