nss: add universal variant and support for build_arch
nss needs a universal variant, otherwise xulrunner/xulrunner-devel cannot be installed on Snow Leopard because nss will be built x86_64 but xulrunner forces itself to i386.
$ sudo port install firefox-x11-devel
---> Computing dependencies for firefox-x11-devel
---> Configuring xulrunner-devel
Error: You cannot install xulrunner-devel for the architecture(s) i386 because
Error: its dependency nss only contains the architecture(s) x86_64.
Error:
Error: Try rebuilding nss (and all its dependencies) with
Error: the +universal variant by running
Error:
Error: sudo port upgrade --enforce-variants nss +universal
Error:
Error: Target org.macports.configure returned: incompatible architectures in dependencies
Error: The following dependencies failed to build: xulrunner-devel
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
And of course the archcheck portgroup's suggestion doesn't help because nss doesn't actually have a universal variant.
Change History (6)
Cc: |
reijo.keskitalo@… added
|
Summary: |
nss: add universal variant →
nss: add universal variant and support for build_arch
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Cc Me!