On Sat, Apr 27, 2013 at 01:30:03AM +0100, Mikolaj Kucharski wrote: > Does it make sense for you? I often would like to clean everything, run, > build and test depends, but currently this is not the case. Comments?
I think this is fine and should go in. If anyone wants to commit: ok kili@ (I have some more diffs in bsd.port.mk and am too much a slacker to move those away). > Index: infrastructure/mk/bsd.port.mk > =================================================================== > RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v > retrieving revision 1.1222 > diff -u -r1.1222 bsd.port.mk > --- infrastructure/mk/bsd.port.mk 8 Apr 2013 16:45:06 -0000 1.1222 > +++ infrastructure/mk/bsd.port.mk 27 Apr 2013 00:27:33 -0000 > @@ -2890,7 +2890,8 @@ > > _internal-clean: > .if ${_clean:Mdepends} && ${_CLEANDEPENDS:L} == "yes" > - @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends|${_sort_dependencies}|while > read subdir; do \ > + @PKGPATH=${PKGPATH} ${MAKE} all-dir-depends test-dir-depends | \ > + ${_sort_dependencies}|while read subdir; do \ > ${_flavor_fragment}; \ > eval $$toset ${MAKE} _CLEANDEPENDS=No clean; \ > done > > -- > best regards > q#