Bug 92188

Summary: A slight problem with make -C in ALL_DEPENDS_LIST on 4.X
Product: Ports & Packages Reporter: Anton Berezin <tobez>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: freebsd-2024
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Anton Berezin freebsd_committer freebsd_triage 2006-01-23 08:00:28 UTC
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.

Fix: 

Possibly change make -C $$d instances to ( cd $$d ; make ) ?
How-To-Repeat: 
See above.
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2006-01-23 08:06:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr territory
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-01-23 21:29:17 UTC
State Changed
From-To: open->closed

Crossed paths with ports/92189.