tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ${SUBDIR} rules in top-level/category Makefiles



> Hi all,
> the addition of fetch in net/Makefile showed an interested problem.

> --- bsd.pkg.subdir.mk 13 Oct 2007 11:04:16 -0000      1.69
> +++ bsd.pkg.subdir.mk 8 Oct 2008 17:29:20 -0000
> @@ -65,14 +65,6 @@ _SUBDIRUSE: .USE
>               fi; \
>       done
>  
> -${SUBDIR}::
> -     @if [ -d ${.TARGET}.${MACHINE} ]; then \
> -             cd ${.CURDIR}/${.TARGET}.${MACHINE}; \
> -     else \
> -             cd ${.CURDIR}/${.TARGET}; \
> -     fi; \
> -     ${RECURSIVE_MAKE} ${MAKEFLAGS} all
> -
>  .for __target in all fetch package extract configure build clean \
>               cleandir distclean depend describe reinstall tags checksum \
>               makedistinfo makepatchsum makesum mirror-distfiles deinstall \

The sooner you delete this code, the better.
My distbb also run bmake being in category/ directory and fails there.
This is why my last Linux bulk build failed.

pkg_list_all_pkg just could not list net/ packages, all they "disappeared"
from bulk build.

http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/log/20081010.1414/META/report.html

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index