Commit Graph
40 Commits
Author SHA1 Message Date
Mike McQuaid be257f4b6d objective-caml: add bottle. 2013-09-15 14:56:24 +01:00
Amir Chaudhry 7bdd8f5f6f objective-caml 4.01.0
Closes #22492.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-15 14:56:22 +01:00
Dave Cottlehuber b04e346aca ocaml: add devel 4.01.0 rc1
Closes #22343.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-07 19:41:45 -05:00
Mike McQuaid 0b94b8b5ae objective-caml: update bottle 2013-03-03 23:34:07 +00:00
Anil Madhavapeddy 0eaa72900c objective-caml: build the debug runtime variant.
This can be optionally linked via the `-runtime-variant d` compiler flag.

Closes #15520.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-21 17:36:57 +01:00
Mike McQuaid 1003199392 objective-caml: add bottles.
References #15359.
2012-10-13 14:50:37 +01:00
Anil Madhavapeddy 9c207d5988 objective-caml 4.00.1
* remove the patch (integrated upstream)
* remove compiler-libs installation (also now standard with ocaml since 4.00.0)

Closes #15359.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-13 13:03:03 +01:00
Mike McQuaid e2140fde93 objective-caml: fix X11 dependency. 2012-09-04 19:44:44 -07:00
Max Howell 7aa496efed Fixes #14542; ocaml superenv issues
This patch removes most of the settings for CC, CXX etc. because we are trying to be minimal. Then we force the compiler to Homebrew's choice underneath in superenv. We however leave LD because we prefer that build-systems use the c-compiler for linking, it generally works better (copiously tested), however when the build-system explicitly calls ld, we respect that. This gets around the ocaml bug in question, since somehow clang was crashing during link, but the ld tool itself (which is kind of clang, kind of llvm-gcc) is okay with this.

Also moved the setting of O (so that cc-args are refurbished) into a make wrapper. Not sure if this matter much, but seems more consistent.
2012-08-30 20:02:29 -04:00
Jack Nagel 0ea83ca0ac ocaml: depends on X11
Discovered by superenv, which removes explicitly removes X11 paths, and
needs this to add them back.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:38:21 -05:00
Jack Nagel f605c57b93 ocaml: re-apply upstream patch for 4.00.0
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-28 21:26:28 -05:00
Jack Nagel bc937acd74 ocaml: use Homebrew's compiler settings
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-28 21:19:57 -05:00
Steve Gury b71a4aa193 ocaml 4.00.0
Closes #14506.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-28 21:19:48 -05:00
Anil Madhavapeddy df1652299b ocaml: add upstream fix for misaligned stacks that cause crashes on Mountain Lion
Closes #13913.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-25 19:16:10 -07:00
Austin Seipp a00148aa04 ocaml: add HEAD and devel 4.00.0+beta2
Closes #12741.

Signed-off-by: Austin Seipp <mad.one@gmail.com>
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12 18:17:29 -05:00
Jack Nagel 417d788070 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Misty De Meo 4af014eeba objective-caml: add Snow Leopard bottle 2012-04-10 11:23:44 -05:00
Mike McQuaid a831770e12 Update objective-caml bottle.
Add new fixes from #10175.
2012-02-16 21:03:15 +00:00
Anil Madhavapeddy 712d797fbd ocaml: install compiler-libs
There are some optional libraries built by the compiler that are used by
3rd party packages to create interactive toplevels. Debian installs the
optional files in lib/ocaml/compiler-libs, so this commit follows the
same convention.

Closes #10175.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 18:04:49 -06:00
Mike McQuaid 0f45ece623 Add objective-caml bottle.
Closes #9841.
2012-01-31 19:36:56 +00:00
Jack Nagel 172c05ed9f mkpath directories under lib/ocaml
Ocaml packages that need to install here will cause the site-lib
directory to be created, and the symlink in the ocaml keg will work as
intended. This is necessary for the ocaml bottle to work properly.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-30 00:04:33 -06:00
Dennis Griffith 72ba0eab7a OCaml 3.12.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-18 11:35:55 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mike McQuaid e995ddde8e Fix objective-caml prefix.
Closes #3863.
2011-01-16 15:52:32 +00:00
Adam Vandenberg 86abea8d5a Tweak o-caml 2010-11-08 09:13:16 -08:00
Chris Jones d520077dca Update OCaml to 3.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 22:31:27 -07:00
Adam Vandenberg ed51a5be97 Don't need +x on these 2010-08-13 16:00:17 -07:00
Adam Vandenberg d0efd9ee94 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
Max Howell d2e9736950 Use new symlink aliases 2010-08-07 18:08:50 -07:00
Adam Vandenberg 5105e2c318 ocaml - Install libraries into lib/ocaml/site-lib
Made the "site-lib" folder a real folder, similar to how the Python brews work.
This will allow other ocaml softare to be built into this location instead of directly
into ocaml's Cellar.
2010-07-10 13:36:15 -07:00
Adam Vandenberg d46c4ba47e Fix comments in ocaml formula. 2010-06-23 13:28:52 -07:00
Adam Vandenberg 47939a1f5f ocaml - fix mandir 2010-06-05 09:07:41 -07:00
Markus Groß ab45b43727 Updated ocaml to 3.11.2
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-05-15 12:16:57 +02:00
Joe c479205c00 Skip clean all of ocaml
Fixes #188.

Signed-off-by: Max Howell <max@methylblue.com>

I tested just cleaning lib and the test cases still didn't work.
2009-12-17 13:44:39 +00:00
Joe b6cb951c29 added skip clean 2009-12-16 12:42:36 -08:00
Adam Vandenberg 84024e64e3 Add alias support to formulae
* brew install will find an aliased formula
* aliases are searched against
* warn when creating a new formula that has an existing alias.

If Subversion has an alias "svn", then warn when the user tries to
create a new formula "svn". The formula can still be created, though
the user should make sure it's not a duplicate of the existing
aliased one.

Subversion and Objective-Caml formulas get some alises here, so we have
something to test against.
2009-11-19 14:03:07 -08:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Adam Vandenberg 19b110ef28 Update OCaml recipe per spicyj suggestion. 2009-10-01 15:17:30 +01:00
Adam Vandenberg 60d3bae80f Fix parallel build issues in Objective Caml formula. 2009-09-30 18:04:05 +01:00
Brett Cannon cf0c0d8ff9 OCaml 3.11.1 formula
Signed-off-by: Max Howell <max@methylblue.com>

I renamed it objective-caml.rb as this is the naming policy of homebrew. However I acknowledge everyone will look for it under ocaml.

But we do have a feature planned where formula can specify common aliases, and we'll try to get this in quickly.
2009-09-11 17:42:54 +01:00