Commit Graph
23 Commits
Author SHA1 Message Date
nibbles 2bits 216954d1b9 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 #16047.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-14 12:30:19 -06:00
Jack Nagel 6b8d25f2d2 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 d3f3554299 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 b35dde24db 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 #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 66fbdbcd54 nspr 4.8.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-15 08:31:40 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg 46c553ad43 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Alexis Hildebrandt b3f1b302aa 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 bdb9280a0c nspr - fix for Leopard 2010-11-08 21:35:23 -08:00
Alexis Hildebrandt 040541cfe7 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 31f1fabd03 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 2582bfc8a4 Fix nspr on 32-bit machines. 2010-07-07 13:02:40 -07:00
Adam Vandenberg 7f49265abf Copy comment from spidermonkey to nspr 2010-06-24 12:39:06 -07:00
Adam Vandenberg 588c9fd4ad Update nspr to 4.8.4 2010-05-12 22:29:17 -07:00
benoitc 135972d091 fix from davisp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-12 22:26:00 -07:00
Adam Vandenberg 7adcf94ab5 Download nspr over normal HTTP, not HTTPS. 2010-04-12 12:19:08 -07:00
Max Howell 5ecc899de2 Fixes #607; nspr fails to build
The build was failing under various conditions due to the removal of some link flags at: 26b760ba4f

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 2f3934c2ab Enable 64 bits on 64 bit machines only 2010-01-24 13:57:44 +00:00
Paul J. Davis 26b760ba4f 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 d5898a547d Update Nspr 2009-11-09 18:25:09 +00: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
Sean Wolfe 32b213c43e 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