The distro already has a /etc/mk.conf is is possible to tell bootstrap
to use /etc/mk.conf and not create and use /usr/pkgsrc/etc/mk.conf? Regards Michael > From: obache%netbsd.org@localhost > To: pkg-manager%netbsd.org@localhost; gnats-admin%netbsd.org@localhost; pkgsrc-bugs%netbsd.org@localhost; damnhogs%hotmail.com@localhost > Subject: Re: pkg/42073: pkg_src makes silly assumptions on gid/uid > CC: > Date: Sat, 19 Sep 2009 10:55:02 +0000 > > The following reply was made to PR pkg/42073; it has been noted by GNATS. > > From: "OBATA Akio" <obache%netbsd.org@localhost> > To: gnats-bugs%netbsd.org@localhost > Cc: > Subject: Re: pkg/42073: pkg_src makes silly assumptions on gid/uid > Date: Sat, 19 Sep 2009 19:50:27 +0900 > > On Sat, 19 Sep 2009 11:15:04 +0900, Michael MacLeod <damnhogs%hotmail.com@localhost> wrote: > > > The patch works=2C ofcourse i edited this manually in the past=2C however > > problems still exist when building a package after bootstraping=2C it > > seems to attempt to install using gid root. > > Also some other issues=2C such as expecting /usr/bin/expr and not /bin/expr= > > as is the case with this distro. > > Workaround: You can put following lines in ${PREFIX}/etc/mk.conf > ROOT_GROUP= wheel > TOOLS_PLATFORM.expr= /bin/expr > > Of course, it is possible to put ROOT_GROUP on default generated mk.conf and > handle expr in mk/tools/tools.Linux.mk. > View your Twitter and Flickr updates from one place - Learn more! |