tech-pkg archive

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

Re: Cyclic dependency on NetBSD



maya%NetBSD.org@localhost writes:

>> > What happens if you first build and install cwrappers, or cwrappers and pkg_install, with USE_CWRAPPERS=no (on command line or would it be in /etc/mk.conf?)?
>> 
>> This is not a reasonable solution for pbulk
>
> I don't like this patch either.
> Reducing PKGTOOLS_REQD is another option.

At this point I think it's a really good question whether the required
version of pkg_install needs to be higher than it was on November 1.
With the compat looking for /var/db/pkg, and advice to set PKG_DBDIR, I
don't see any reason to force it.

Any objections to just setting the required version back to how it was?



> Index: pkgformat/pkg/depends.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/mk/pkgformat/pkg/depends.mk,v
> retrieving revision 1.12
> diff -u -r1.12 depends.mk
> --- pkgformat/pkg/depends.mk	2 Dec 2020 10:22:39 -0000	1.12
> +++ pkgformat/pkg/depends.mk	22 Dec 2020 13:31:56 -0000
> @@ -221,7 +221,7 @@
>  	    ${MAKE} ${MAKEFLAGS} _AUTOMATIC=yes clean && \
>  	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; \
>  	fi
>  
>  ######################################################################

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index