Ticket #20029: Portfile.2.patch

File Portfile.2.patch, 2.2 KB (added by iraikov (Ivan Raikov), 15 years ago)

Patch for Chicken 4.3.0

Line 
1*** /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/chicken/Portfile      Sat Apr  4 15:23:58 2009
2--- Portfile    Tue Jan 26 16:26:00 2010
3***************
4*** 1,8 ****
5- # $Id: Portfile 49127 2009-04-04 06:23:58Z mcalhoun@macports.org $
6-
7  PortSystem 1.0
8  name          chicken
9! version               3.4.0
10  categories    lang scheme
11  maintainers   gmail.com:arto.bendiken waqar gmail.com:ivan.g.raikov
12  description   Compiler for the Scheme programming language
13--- 1,6 ----
14  PortSystem 1.0
15  name          chicken
16! version               4.3.0
17  categories    lang scheme
18  maintainers   gmail.com:arto.bendiken waqar gmail.com:ivan.g.raikov
19  description   Compiler for the Scheme programming language
20***************
21*** 15,31 ****
22  platforms     darwin
23  master_sites  http://chicken.wiki.br/releases/${version}
24  distfiles     ${distname}${extract.suffix}
25! checksums     md5 9299e9daa9c39cbd391975ce5e5aa7d9\
26!               sha1 6a73186eb01e2aa952056cf2ccb8fa136f9fab4e\
27!                 rmd160 e28808de5408753df1e0b050dcac19f540567f13
28  configure {
29        reinplace "s|C_COMPILER ?= gcc|C_COMPILER ?= ${configure.cc}|"     ${worksrcpath}/defaults.make
30        reinplace "s|CXX_COMPILER ?= g++|C_COMPILER ?= ${configure.cxx}|"  ${worksrcpath}/defaults.make
31  }
32! pre-build {
33!       system "cd ${worksrcpath} && ${build.cmd} ${build.args} bootstrap"
34  }
35! build.args    PLATFORM=macosx PREFIX=${prefix}
36! build.post_args       CHICKEN=./chicken-boot
37! use_parallel_build yes
38! destroot.args PLATFORM=macosx PREFIX=${prefix}
39--- 13,28 ----
40  platforms     darwin
41  master_sites  http://chicken.wiki.br/releases/${version}
42  distfiles     ${distname}${extract.suffix}
43! checksums     md5 4c8e0b8100ca6537c1198a5c2555c8c0\
44!               sha1 5a0e061f5c67d20160034126f63ad64a7b15ee57\
45!                 rmd160 fb823661deaf2c78b81297c9e699c70db65d4aff
46  configure {
47        reinplace "s|C_COMPILER ?= gcc|C_COMPILER ?= ${configure.cc}|"     ${worksrcpath}/defaults.make
48        reinplace "s|CXX_COMPILER ?= g++|C_COMPILER ?= ${configure.cxx}|"  ${worksrcpath}/defaults.make
49  }
50! platform darwin 10 {
51! build.args    PLATFORM=macosx PREFIX=${prefix} ARCH=x86-64
52! destroot.args   PLATFORM=macosx PREFIX=${prefix} ARCH=x86-64
53  }
54! build.args    PLATFORM=macosx PREFIX=${prefix}
55! destroot.args   PLATFORM=macosx PREFIX=${prefix}