From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 12 05:00:20 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D071065697 for ; Sun, 12 Dec 2010 05:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB1C8FC14 for ; Sun, 12 Dec 2010 05:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBC50J5Y025691 for ; Sun, 12 Dec 2010 05:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBC50JTY025678; Sun, 12 Dec 2010 05:00:19 GMT (envelope-from gnats) Resent-Date: Sun, 12 Dec 2010 05:00:19 GMT Resent-Message-Id: <201012120500.oBC50JTY025678@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "J.R. Oldroyd" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0BD1065670 for ; Sun, 12 Dec 2010 04:52:38 +0000 (UTC) (envelope-from jr@opal.com) Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by mx1.freebsd.org (Postfix) with ESMTP id EF3A98FC12 for ; Sun, 12 Dec 2010 04:52:37 +0000 (UTC) Received: from pool-141-154-200-118.bos.east.verizon.net ([141.154.200.118] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1PRdvJ-000AQQ-5g for FreeBSD-gnats-submit@freebsd.org; Sun, 12 Dec 2010 04:52:37 +0000 Received: from opal.com (localhost [IPv6:::1]) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id oBC4qZD0051418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 11 Dec 2010 23:52:35 -0500 (EST) (envelope-from jr@opal.com) Received: from homobox.opal.com ([127.0.0.1] helo=homobox.opal.com) with IPv4:25 by opal.com; 11 Dec 2010 23:52:35 -0500 Received: (from root@localhost) by homobox.opal.com (8.14.4/8.14.4/Submit) id oBC4qZ2p051417; Sat, 11 Dec 2010 23:52:35 -0500 (EST) (envelope-from jr) Message-Id: <201012120452.oBC4qZ2p051417@homobox.opal.com> Date: Sat, 11 Dec 2010 23:52:35 -0500 (EST) From: "J.R. Oldroyd" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/153042: bsd.port.mk installs MLINKS even when NOPORTDOCS is set X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2010 05:00:20 -0000 >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: