diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:42 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:22 +0700 |
commit | b47995dd620a1b3867bd274be4ca8b9a0c1595c6 (patch) | |
tree | 9a3746585efe0c632fdcfc577370a68b5bd3dbeb /haskell/haskell-pretty-show | |
parent | d95b0f4c5d5dd27fc8ac2aa1a802fbe553726a64 (diff) | |
download | slackbuilds-b47995dd620a1b3867bd274be4ca8b9a0c1595c6.tar.gz |
haskell/haskell-pretty-show: 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-pretty-show')
-rw-r--r-- | haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild b/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild index 469089c14b..7cd6ab4c03 100644 --- a/haskell/haskell-pretty-show/haskell-pretty-show.SlackBuild +++ b/haskell/haskell-pretty-show/haskell-pretty-show.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 |