Commit graph

23 commits

Author SHA1 Message Date
nibbles 2bits
f6578a4538 nspr 4.9.3
- Upgrade to 4.9.3.
- Remove the hand made `nspr.pc` that is created automatically now.
- Add flags to enable pthreads and ipv6.
- Remove flag to enable optimize, because Homebrew does that.
- Works with superenv on 10.8.2.

Closes Homebrew/homebrew#16047.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-14 12:30:19 -06:00
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
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Harald Fernengel
d315274d42 nspr: install pkg-config file
Some configure scripts are checking for nspr via pkg-config since most
Linux distros seem to add that to their package.

Closes Homebrew/homebrew#9705.

Note: upstream has been asked several times over the last few years to
provide pkg-config files, but nothing has come of it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 17:23:15 -06:00
Justin Clift
e019876418 nspr 4.8.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-15 08:31:40 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
7689fb8fd2 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Alexis Hildebrandt
41f6b49af7 Update Formula: nspr
Version bump to 4.8.6

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-26 13:32:50 -08:00
Adam Vandenberg
3b5b13a9ea nspr - fix for Leopard 2010-11-08 21:35:23 -08:00
Alexis Hildebrandt
ed0ec31c14 Update formula: nspr
Fix dylib install_name

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-02 18:53:39 -07:00
Adam Vandenberg
576185d345 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00
Adam Vandenberg
61afbabc6e Fix nspr on 32-bit machines. 2010-07-07 13:02:40 -07:00
Adam Vandenberg
5d06e7e3ed Copy comment from spidermonkey to nspr 2010-06-24 12:39:06 -07:00
Adam Vandenberg
55da512ca9 Update nspr to 4.8.4 2010-05-12 22:29:17 -07:00
benoitc
4f19151f67 fix from davisp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-12 22:26:00 -07:00
Adam Vandenberg
37e4dea958 Download nspr over normal HTTP, not HTTPS. 2010-04-12 12:19:08 -07:00
Max Howell
9c930ab6f4 Fixes Homebrew/homebrew#607; nspr fails to build
The build was failing under various conditions due to the removal of some link flags at: 26b760ba4f92d67edadae5d3e6b70ff98867fcef

Linking to Carbon is at least required on 10.5 and also for some 10.6 users.
2010-02-17 15:16:38 +00:00
Max Howell
126ebba70b Enable 64 bits on 64 bit machines only 2010-01-24 13:57:44 +00:00
Paul J. Davis
4bc540b4fa Make the build libmozjs threadsafe.
Needed to avoid a bug in OS X when a library was linked against
CoreFoundation without having it initialized in the main thread.

http://openradar.appspot.com/7209349
2010-01-24 13:38:51 +00:00
Kieran Pilkington
7dc61cafff Update Nspr 2009-11-09 18:25:09 +00:00
Max Howell
61b2307139 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
Sean Wolfe
5fc51a6e1b Couchdb and dependency formulae
Signed-off-by: Max Howell <max@methylblue.com>

I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
2009-09-14 20:33:46 +01:00