3
0
Fork 0
forked from mirrors/nixpkgs

Updated FPC. Patch partially by Felix Breuer

svn path=/nixpkgs/trunk/; revision=14261
This commit is contained in:
Michael Raskin 2009-02-26 15:14:17 +00:00
parent 6a1ecaee94
commit d6682c9514
2 changed files with 8 additions and 6 deletions

View file

@ -1,10 +1,10 @@
args: with args;
stdenv.mkDerivation {
name = "fpc-2.0.4-binary";
name = "fpc-2.2.2-binary";
src = fetchurl {
url = ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/i386-linux-2.0.4/fpc-2.0.4.i386-linux.tar;
sha256 = "0b2szv2anbf58h4i5mlph93afv9qdx6i0jqggba04d3anjbl9gfy";
url = ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/i386-linux-2.2.2/fpc-2.2.2.i386-linux.tar;
sha256 = "8c18f63b36a76eee673f96ca254c49c5a42bcf3e36279abe8774f961792449a5";
};
builder = ./binary-builder.sh;

View file

@ -3,11 +3,11 @@ if ((args ? startFPC) && (args.startFPC != null))
then
with args;
stdenv.mkDerivation {
name = "fpc-2.2.0";
name = "fpc-2.2.2";
src = fetchurl {
url = ftp://freepascal.stack.nl/pub/fpc/dist/source-2.2.0/fpcbuild-2.2.0.tar.gz;
sha256 = "0pvsdmimknkgy8jgdz9kd7w5bs9fy5ynrgswpk0ib6x0y26zxijm";
url = ftp://freepascal.stack.nl/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz;
sha256 = "0d73b119e029382052fc6615034c4b5ee3ec66fa6cc45648f1f07cfb2c1058f1";
};
buildInputs = [startFPC gawk];
@ -16,6 +16,8 @@ stdenv.mkDerivation {
sed -e "s@'/lib/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
'' else "");
makeFlags = "NOGDB=1";
installFlags = "INSTALL_PREFIX=\${out}";
postInstall = "ln -fs $out/lib/fpc/*/ppc386 $out/bin;
mkdir -p $out/lib/fpc/etc/ ;