librelist archives

« back to archive

Default Use Flags?

Default Use Flags?

From:
John Harrison
Date:
2011-10-09 @ 20:28
Is there a way of specifying default use flags? Such as --universal, or
whatever else you might like enabled by default. It would be nice if there
was some way of doing this at least for --universal. Of course this would
only add --universal if the brew actually supported the --universal flag.

Just curious what other thought of default flags. Also, this might already
exist and I just don't know about it.

-- 
John Harrison

Re: [homebrew] Default Use Flags?

From:
Charlie Sharpsteen
Date:
2011-10-09 @ 20:44
On Sun, Oct 9, 2011 at 1:28 PM, John Harrison <ash.gti@gmail.com> wrote:

> Is there a way of specifying default use flags? Such as --universal, or
> whatever else you might like enabled by default. It would be nice if there
> was some way of doing this at least for --universal. Of course this would
> only add --universal if the brew actually supported the --universal flag.
>
> Just curious what other thought of default flags. Also, this might already
> exist and I just don't know about it.
>


Currently this is not possible. However, I do have a pull request open that
adds support for pre-processing ARGV before building a formula:

  https://github.com/mxcl/homebrew/pull/7784

-Charlie

Re: [homebrew] Default Use Flags?

From:
John Harrison
Date:
2011-10-09 @ 22:41
After looking at that, I guess 1 question that comes to mind is how do you
ignore a default flag if you don't want to use that flag. It seems
complicated to add a --no-* variant to flags, but that could be one way of
overriding a default flag.


On Sun, Oct 9, 2011 at 3:44 PM, Charlie Sharpsteen <chuck@sharpsteen.net>wrote:

> On Sun, Oct 9, 2011 at 1:28 PM, John Harrison <ash.gti@gmail.com> wrote:
>
>> Is there a way of specifying default use flags? Such as --universal, or
>> whatever else you might like enabled by default. It would be nice if there
>> was some way of doing this at least for --universal. Of course this would
>> only add --universal if the brew actually supported the --universal flag.
>>
>> Just curious what other thought of default flags. Also, this might already
>> exist and I just don't know about it.
>>
>
>
> Currently this is not possible. However, I do have a pull request open that
> adds support for pre-processing ARGV before building a formula:
>
>   https://github.com/mxcl/homebrew/pull/7784
>
> -Charlie
>
>


-- 
John Harrison