pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/pkgtools/pkg_rolling-replace



On Fri, 24 Dec 2010 22:59:19 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:


  You can reproduce anywhere with "make PKGNAME_REQD='pkg-*' replace"
  if it have new dependency, or some of BUILD_DEPENDS are not installed.
  If PKGNAME_REQD is passed as environment variable, it will not happen.

That sounds like a problem in pkgsrc/mk where the PKGNAME_REQD should be
removed before being passed to dependencies.

PKGNAME_REQD is set and passed as ENV in mk/flavor/pkg/depends.mk.
MAKEFLAGS from parent make will overwrite it in child make.

As I already said, if you change passing PKGNAME_REQD to depends installation
from ENV to MAKEFLAGS as pkg_rolling-replace like, but it may break others.
If you still think it is a problem in pkgsrc/mk,
please look carefully before change it.

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index