pkgtools.conf make arguments ignored (?!?)

martinko martinkov at pobox.sk
Mon Dec 12 13:21:34 PST 2005


Scot Hetzel wrote:

>On 12/11/05, martinko <martinkov at pobox.sk> wrote:
>  
>
>>hello,
>>
>>i'm having troubles with specifying make arguments to portupgrade via
>>/usr/local/etc/pkgtools.conf.
>>this is a part of my config file:
>>
>>  MAKE_ARGS = {
>>    'x11/yelp' => 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla',
>>  }
>>
>>it works only if i run `portupgrade -N yelp`
>>but it does not work when i run eg `portupgrade -N gnome2-lite`
>>
>>interesting thing is that according to pkgtools.conf itself the
>>following should work too but it does not :
>>
>>  MAKE_ARGS = {
>>    'x11/yelp-*' => 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla',
>>  }
>>
>>is this a known issue (and why?) or am i doing something wrong ??
>>
>>    
>>
>Do you have an entry in the MAKE_ARGS for x11/gnome2-lite? As your
>example doesn't show an entry for it.
>
>Scot
>  
>

well, i want to set an entry for x11/yelp. and i expect portupgrade to 
take that entry into account whenever it compiles x11/yelp. whether it 
is compiled directly or indirectly as a dependency. (for i might want to 
compile gnome2-office port instead and of course i do not want to create 
an entry for every possible combination. i do not expect pkgtools to 
work this way.)

martin


More information about the freebsd-questions mailing list