Commit graph

11 commits

Author SHA1 Message Date
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg
2393b40f70 vimpc: use new dsl 2012-08-25 09:43:50 -07:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel
7802f7b829 Remove useless instances of skip_clean
No need to skip_clean 'etc' or skip_clean 'var' when using the top-level
var and etc directories.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 11:46:20 -06:00
Jack Nagel
89b2018d80 Update bare fails_with_llvm calls
These formulae all compile and run with LLVM build >= 2335.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-28 15:52:44 -05:00
jon
7d175aa764 vpnc: apply a patch on Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-19 09:41:35 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Adam Vandenberg
957ea80135 New formula: vpnc
* Initial vpnc formula from Adam V.
* Modified the path locations for /etc & /var files

Adam's initial vpnc formula was good, except it had some incorrect path
setups for the /etc and /var files. They should have been under REPO/etc
and REPO/var.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-11 22:38:08 -08:00