[csw-maintainers] GAR: BUILD_ARGS when custom build scripts

Peter FELECAN pfelecan at opencsw.org
Sat Jun 9 13:51:30 CEST 2012


"Maciej (Matchek) Bliziński" <maciej at opencsw.org> writes:

> 2012/6/7 <pfelecan at opencsw.org>
>>
>> I'm using a custom build and wish to pass specific arguments to all or
>> some of the specific scripts.
>>
>> I know that using BUILD_ARGS works for standard build.
>>
>> How can I use a similar feature for the following:
>>
>> BUILD_SCRIPTS   =       nominal
>> BUILD_SCRIPTS   +=      add1
>> BUILD_SCRIPTS   +=      add2
>> BUILD_SCRIPTS   +=      add3
>>
>> in the case that I wish to have different additional arguments? IMHO,
>> modulations are not an option.
>>
>> Note that the same issue arises with other phases, such as install.
>
> I always thought that the *_SCRIPTS variable names are misnomers,
> referring to Make targets, and not any scripts.

Agree.

> When you say that you're using a custom build and you wish to pass
> specific arguments to all or some of the specific scripts, what do you
> mean by 'a script'?

I mean 'target'. See autogen's recipe where the build is split in 4
targets, 3 of them having additional PATH set.
-- 
Peter


More information about the maintainers mailing list