OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Clean test depends as well on clean=depends

From: Mikolaj Kucharski (mikolajkucharski.name)
Date: Mon Jun 03 2013 - 14:28:32 CDT


Any other comments?

http://marc.info/?l=openbsd-ports&m=136702261620950&w=2

On Thu, May 23, 2013 at 10:31:10PM +0200, Matthias Kilian wrote:
> 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#