Subject: Re: UPDATE_TARGET and DEPENDS_TARGET
To: Roland Illig <roland.illig@gmx.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/27/2005 19:44:45
On Thu, 28 Apr 2005, Roland Illig wrote:

> when rebuilding a package with many packages depending on it, I'd like
> to have the following behaviour when doing "make update":
>
> - deinstall the depending packages
> - update the current package
> - reinstall the depending packages
>    * from binary if it exists
>    * otherwise from source
>      + creating a binary package from it
>
> I have tried to set
>
>      UPDATE_TARGET= package
>      DEPENDS_TARGET= bin-install
>
> but I think what I really want is
>
>      DEPENDS_TARGET= bin-package
>
> but this is not implemented yet. :(

I thought we had "bin-update" and it is still mentioned in mk/bsd.pkg.mk
but not implemented any more.

I used to use:
  make UPDATE_TARGET=bin-install update

but that doesn't do the current package

What I want is bin-install to not run as root the whole time and also have
an option to use the binary package that is "good enough" (not
necessarily same as PKGVERSION).


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/