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-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.

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


Home | Main Index | Thread Index | Old Index