tech-pkg archive

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

Re: Cyclic dependency on NetBSD



* On 2020-12-23 at 11:55 GMT, maya%NetBSD.org@localhost wrote:

> On Wed, Dec 23, 2020 at 08:18:38AM +0000, Jonathan Perkin wrote:
> > * On 2020-12-22 at 13:35 GMT, maya%NetBSD.org@localhost wrote:
> > 
> > > I don't like this patch either.
> > > Reducing PKGTOOLS_REQD is another option.
> > > 
> > >  	cd ../../pkgtools/pkg_install && ${PKGSRC_SETENV} ${PKGSRC_MAKE_ENV} \
> > >  	    _PKGSRC_DEPS=" ${PKGNAME}${_PKGSRC_DEPS}" \
> > > -	    ${MAKE} ${MAKEFLAGS} _AUTOMATIC=yes ${DEPENDS_TARGET:Q}; \
> > > +	    ${MAKE} ${MAKEFLAGS} _AUTOMATIC=yes USE_CWRAPPERS=no replace; \
> > 
> > I think it's going to be necessary to help this mess, though I'd wrap
> > it around a check for ${PKG_INFO} -qe cwrappers, as there's no need to
> > penalise non-NetBSD users.
> > 
> > It'll also need to be revisited if and when the legacy wrappers are
> > removed.
> 
> I assume the same problem would happen for bootstrapped users with a
> too-old bootstrap?

Bootstrap users will have cwrappers installed so won't have any issue.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index