Fix a bug in bsd.port.mk that was causing 'make clean' to fail in some
authorChris Pressey <cpressey@dragonflybsd.org>
Mon, 10 May 2004 04:46:01 +0000 (04:46 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Mon, 10 May 2004 04:46:01 +0000 (04:46 +0000)
commit7586422e65df5ac3119ed787111a72169dec484e
treecdd0c6feaaf85bf7a74d26d7ee90f60f48e68ccd
parent629f74cc046541cda87c20ea8a3b5504d2454eb8
Fix a bug in bsd.port.mk that was causing 'make clean' to fail in some
ports directories with mysterious symptoms like 'cd: can't cd to &&'.

The problem was that the text of the DragonFly port override warning
message was mistakenly being injected into the output of the
'*-depends-list' targets.  Although the message was being explicitly
filtered out if the target was 'all-depends-list', the targets
'build-depends-list' and 'run-depends-list', exercised indirectly by
'make clean', still allowed it to slip through.

Encountered-by: walt <wa1ter@myrealbox.com> and others
Detective-work-by: walt <wa1ter@myrealbox.com>
Patch-written-by: cpressey
Approved-by: dillon
share/mk/bsd.port.mk