diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:25 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:13 +0700 |
commit | 6ce21627232e2f074d0de75fa258a803ff696439 (patch) | |
tree | f707013c56718b7324eefb32aae50f93862d4f60 /haskell/haskell-graphviz | |
parent | aee4a59fc9d699a11670e04df6c23b7e7dc0f265 (diff) |
haskell/haskell-graphviz: 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-graphviz')
-rw-r--r-- | haskell/haskell-graphviz/haskell-graphviz.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-graphviz/haskell-graphviz.SlackBuild b/haskell/haskell-graphviz/haskell-graphviz.SlackBuild index f508887dffa1e..7f99408bfc2d8 100644 --- a/haskell/haskell-graphviz/haskell-graphviz.SlackBuild +++ b/haskell/haskell-graphviz/haskell-graphviz.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 |