void-packages/srcpkgs/pinfo/template
Gonzalo Tornaría 1913f31866 pinfo: fix showing of man pages
To show a man page (e.g. when there is no info file) this program uses
`man -w -W <name>` but option `-W` is unsupported by our `man(1)`.

This results in:

    $ pinfo man
    man: BADARG: bad command line argument: -W man
    Error executing command 'man -w -W  man'

and the terminal is left in a broken state.

Fix by applying this PR: https://github.com/baszoetekouw/pinfo/pull/36
2024-11-02 15:58:05 +01:00

19 lines
562 B
Bash

# Template file for 'pinfo'
pkgname=pinfo
version=0.6.13
revision=3
build_style=gnu-configure
hostmakedepends="automake gettext gettext-devel tar texinfo"
makedepends="ncurses-devel"
short_desc="Lynx-style info and man reader"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/baszoetekouw/pinfo"
distfiles="https://github.com/baszoetekouw/pinfo/archive/v${version}.tar.gz"
checksum=9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217
CFLAGS="-Wno-error -fcommon"
pre_configure() {
autoreconf -fi
}