nixpkgs/pkgs
Peter Simons 1e575d3572 perl-5.8 and perl-5.10: fixed build on MacOS X
On MacOS X, we used to use the native perl interpreter from /usr/bin.
Unfortunately, that interpreter fails to build a number of packages
(Subversion, Git, etc. ...), because it assumes knowledge about the
underlying C compiler that is not valid for the compiler used by Nix.
For example, /usr/bin/perl assumes that the compiler can build binaries
for both the ppc and the x86 architecture. /usr/bin/gcc can do that, but
the gcc from Nix can't.

The solution is to compile Perl 5.10 in Nix so that the ./configure
phase can properly detect the system's capabilities. However, note that
the resulting binary is impure: it will find headers in /usr/include and
libraries in /usr/lib. In this respect, the Nix-compiled perl binary is
no different than the native one in /usr/bin -- it's just configured
more accurately.

svn path=/nixpkgs/trunk/; revision=17870
2009-10-19 09:17:10 +00:00
..
applications adding scribus - don't miss the comment about fonts! 2009-10-18 04:44:01 +00:00
build-support Add xz support to builderDefs 2009-10-17 05:26:52 +00:00
configs/etc d'oh, don't actually gzip it 2006-03-08 19:25:44 +00:00
data * Latest DocBook XSL. 2009-10-05 12:57:15 +00:00
desktops Removing references to libkipi. I just discovered it is for kde 3.x. 2009-10-11 15:52:03 +00:00
development perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-19 09:17:10 +00:00
games GNU Ball-and-Paddle: Don't build on {Cyg,Dar}. 2009-09-16 15:12:26 +00:00
lib Refactor a bit to add names to intermediate computations. Add a cross 2009-10-12 17:51:21 +00:00
misc If this url then this hash 2009-10-04 22:01:26 +00:00
os-specific/linux Updating ipw2200 firmware from 3.0 to 3.1. 2009-10-14 21:56:45 +00:00
servers * Postgres updated to 8.3.8 and 8.4.1. Dropped the "with args" and 2009-10-14 14:38:16 +00:00
shells * tcsh: create a "csh" symlink. 2009-06-13 16:09:26 +00:00
stdenv Added empty line 2009-10-16 10:21:27 +00:00
test Add a new way to handle option sets. 2008-08-05 17:16:35 +00:00
tools adding ps2edit 2009-10-18 04:43:53 +00:00
top-level perl-5.8 and perl-5.10: fixed build on MacOS X 2009-10-19 09:17:10 +00:00