From tobez@tobez.org  Mon Jan 23 07:59:01 2006
Return-Path: <tobez@tobez.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6F26B16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Jan 2006 07:59:01 +0000 (GMT)
	(envelope-from tobez@tobez.org)
Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1771943D48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Jan 2006 07:58:58 +0000 (GMT)
	(envelope-from tobez@tobez.org)
Received: by heechee.tobez.org (Postfix, from userid 1001)
	id E9BA7125456; Mon, 23 Jan 2006 08:58:56 +0100 (CET)
Message-Id: <20060123075856.E9BA7125456@heechee.tobez.org>
Date: Mon, 23 Jan 2006 08:58:56 +0100 (CET)
From: Anton Berezin <tobez@freebsd.org>
Reply-To: Anton Berezin <tobez@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mi@aldan.algebra.com
Subject: A slight problem with make -C in ALL_DEPENDS_LIST on 4.X
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         92188
>Category:       ports
>Synopsis:       A slight problem with make -C in ALL_DEPENDS_LIST on 4.X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 08:00:28 GMT 2006
>Closed-Date:    Mon Jan 23 21:29:38 GMT 2006
>Last-Modified:  Mon Jan 23 21:29:38 GMT 2006
>Originator:     Anton Berezin
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
>Environment:

>Description:

The recent round of changes to bsd.port.mk introduced a regression on
4.X.  Namely, PR 86310, which was [1] in the bsd.port.mk 1.518, uses
make -C.  And it looks like make -C is buggy on 4.X systems:

# cd /usr/ports/devel/p5-Test-Base
# make -C /usr/ports/lang/perl5 -V _DEPEND_DIRS
"Makefile", line 47: Could not find Makefile.man
make: fatal errors encountered -- cannot continue

This leads to this message being shown repeatedly for any p5 port build.
I would imaging that any dependant port that includes anything in its
Makefile from its own directory will lead to similar results.

I am not sure whether this behavior breaks anything, hence I assigned
low priority to this PR.  I am sure Mikhail will be able to tell
right away whether it is just an annoyance or a true regression.

>How-To-Repeat:

See above.

>Fix:

Possibly change make -C $$d instances to ( cd $$d ; make ) ?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: tobez 
Responsible-Changed-When: Mon Jan 23 09:06:42 CET 2006 
Responsible-Changed-Why:  
portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92188 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jan 23 21:29:17 UTC 2006 
State-Changed-Why:  
Crossed paths with ports/92189. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92188 
>Unformatted:
