[csw-maintainers] difference depend, REQUIRED_PKGS_

Dagobert Michelsen dam at opencsw.org
Wed Aug 5 13:23:52 CEST 2009


Hi Maciej,

Am 04.08.2009 um 18:00 schrieb Maciej (Matchek) Blizinski:
> On Tue, Aug 4, 2009 at 1:34 PM, Dagobert Michelsen<dam at opencsw.org>  
> wrote:
>> Am 04.08.2009 um 13:52 schrieb rupert THURNER:
>>>
>>> i am sure you once talked about it on the list, but i am not able to
>>> find the reference any more, also
>>> http://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
>>> does not mention it. what is the difference when using:
>>> * REQUIRED_PKGS_<xxx>
>>
>> These packages are put in the depend file of the package and are
>> required during package installation.
>
> I have a question about 'required' vs 'prerequisite'. Both words mean
> the same thing. The difference in GAR is that there are build
> dependencies and runtime dependencies. Most of the runtime
> dependencies are build dependencies as well. Would it be hard to
> replace REQUIRED_PKGS with RUNTIME_DEPS (or something similar) and
> PREREQUISITE_PKGS with BUILD_DEPS? What if I prepared a giant change
> replacing this in the whole code repository? :-)

Slow down... I could imagine something like
BUILD_DEP_PKGS ?= $(PREREQUISITE_PKGS)
RUNTIME_DEP_PKGS ?= $(REQUIRED_PKGS)
if($(PREREQUISITE_PKGS))
warn "You are still using PREREQUISITE_PKGS, please use the newer  
BUILD_DEP_PKGS)
fi

Additionally, I would like to have PKGS in the name to be able to  
define other
build time constraints with BUILD_DEPS, which defines make targets for  
build-dep-%.


Best regards

   -- Dago




More information about the maintainers mailing list