conf/153042: bsd.port.mk installs MLINKS even when NOPORTDOCS is set

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


>Number:         153042
>Category:       conf
>Synopsis:       bsd.port.mk installs MLINKS even when NOPORTDOCS is set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 05:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 8.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD xx.opal.com 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #5: Sat Dec 4 23:01:56 EST 2010 xx at xx.opal.com:/usr/obj/usr/src/sys/XX i386
>Description:
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.
>How-To-Repeat:
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.
>Fix:
Add:
	.if !defined(NOPORTDOCS)
	.endif
at suitable places in bsd.port.mk.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list