summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-Tensor/haskell-Tensor.SlackBuild
diff options
context:
space:
mode:
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
commit784d3f7c871bf217d0d0a7210a1fb5d319c8c224 (patch)
tree41f70956729e97e1d2540953c25503d783e28efa /haskell/haskell-Tensor/haskell-Tensor.SlackBuild
parentfda9b08245412b283fff31ef0072d44f01196ae5 (diff)
downloadslackbuilds-784d3f7c871bf217d0d0a7210a1fb5d319c8c224.tar.gz
slackbuilds-784d3f7c871bf217d0d0a7210a1fb5d319c8c224.tar.xz
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/haskell-Tensor.SlackBuild')
-rw-r--r--haskell/haskell-Tensor/haskell-Tensor.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-Tensor/haskell-Tensor.SlackBuild b/haskell/haskell-Tensor/haskell-Tensor.SlackBuild
index 99c1c5ab0f..d0a0a546bf 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