Makefile/man page problem

Florent Thoumie flz at xbsd.org
Mon May 19 09:53:32 UTC 2008


On Mon, May 19, 2008 at 8:23 AM, Marc Spitzer <mspitzer at gmail.com> wrote:
> Hello,
>
> I am having a problem with installing/deinstalling man pages of a port
> I am working on, atf if interested.  They are not being compressed on
> install and when I denistall the port I get error messages as follows:
>
>
> pkg_delete: file '/var/tmp/atf/man/man3/atf-c++/atf-c++-api.3.gz' doesn't exist
> pkg_delete: file '/var/tmp/atf/man/man3/atf-c/atf-c-api.3.gz' doesn't exist
> pkg_delete: file '/var/tmp/atf/man/man3/atf-sh/atf-sh-api.3.gz' doesn't exist
> pkg_delete: file '/var/tmp/atf/man/man4/doc/atf-test-case.4.gz' doesn't exist
> pkg_delete: couldn't entirely delete package (perhaps the packing list is

$ find man -type f | head -5
man/man1/atf-test-program.1
man/man1/atf-config.1
man/man1/atf-cleanup.1
man/man1/atf-compile.1
man/man1/atf-exec.1

You need to set MAN1= atf-test-program.1 atf-config.1 ..., this is
relative to MAN1DIR, not WRKSRC.

Also, by default ATF_SHELL is set to /usr/local/bin/bash so you need
to add shells/bash as a dependency if setting it to /bin/sh isn't good
enough.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer


More information about the freebsd-ports mailing list