conf/153042: installs MLINKS even when NOPORTDOCS is set

J.R. Oldroyd fbsd at
Sun Dec 12 05:00:20 UTC 2010

>Number:         153042
>Category:       conf
>Synopsis: installs MLINKS even when NOPORTDOCS is set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 05:00:19 UTC 2010
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 8.2-PRERELEASE i386
System: FreeBSD 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #5: Sat Dec 4 23:01:56 EST 2010 xx at i386
If a port Makefile defines MLINKS, the symbolic links are installed even if
NOPORTDOCS is used.  This subsequently causes confusing errors when man(1) is
used and also when makewhatis(8) runs.
cd /usr/ports/graphics/tiff
make -DNOPORTDOCS=1 install
ls -l /usr/local/man/man3/TIFF*
Observe that the syminks are there but the man pages themselves are not.
	.if !defined(NOPORTDOCS)
at suitable places in

More information about the freebsd-bugs mailing list