Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2010 23:52:35 -0500 (EST)
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/153042: bsd.port.mk installs MLINKS even when NOPORTDOCS is set
Message-ID:  <201012120452.oBC4qZ2p051417@homobox.opal.com>
Resent-Message-ID: <201012120500.oBC50JTY025678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012120452.oBC4qZ2p051417>