Hi, setting BINPKG_SITES= in /etc/mk.conf seems to do what I want.I always want to build from the sources and never download from somewhere a precompiled package.
Setting DEPENDS_TARGET=... as mentioned by Joerg does not what I want - at least for the current package. From the variable name I suggest that this is only used to build missing dependencies. Perhaps it is required too, to archive the requested effect on dependencies too. I need to test this - later ...
The only "ugly" remaining thing now is, that I cannot call "make install" anymore and I'm shure I will fail to call "make bin-install" very often.
The functionality requested in the PR seems to be already available.The current setup looks usable for most "normal" users of pkgsrc, so I think we can close this PR. I've now a workaround (by using target bin-install instead of install) for my actual problem.
Tanks. W. Stukenbrock OBATA Akio wrote:
The following reply was made to PR pkg/46686; it has been noted by GNATS. From: "OBATA Akio" <obache%netbsd.org@localhost> To: gnats-bugs%netbsd.org@localhostCc: Subject: Re: pkg/46686: pkgsrc-2012Q1 does not reuse already build packagesduring install Date: Wed, 11 Jul 2012 20:14:52 +0900 On Wed, 11 Jul 2012 20:10:11 +0900, Wolfgang Stukenbrock <wolfgang.stukenbrock%nagler-company.com@localhost> wrote:> As long as bin-install tries to build the package from the sources if> the binary is not present, this is exactly what I mean. > If it only installs the binary version and - perhaps tries to download > it from somewhere, this is not what I need ...Try to set BINPKG_SITES= #empty in /etc/mk.conf. -- OBATA Akio / obache%NetBSD.org@localhost