1 | 1c1 |
---|
2 | < # $Id: Portfile 52801 2009-06-23 12:33:35Z gwright@macports.org $ |
---|
3 | --- |
---|
4 | > # $Id: Portfile 52801 2009-09-19 12:33:35Z gwright@macports.org $ |
---|
5 | 7c7 |
---|
6 | < revision 1 |
---|
7 | --- |
---|
8 | > revision 2 |
---|
9 | 54a55,77 |
---|
10 | > platform darwin 10 { |
---|
11 | > set bootversion 1.0.29 |
---|
12 | > set subbootversion "-r2" |
---|
13 | > global host_lisp |
---|
14 | > |
---|
15 | > if {${build_arch} == "x86_64"} { |
---|
16 | > distfiles-append sbcl-${bootversion}-x86_64-darwin-binary${subbootversion}${extract.suffix} |
---|
17 | > checksums-append sbcl-${bootversion}-x86_64-darwin-binary${subbootversion}${extract.suffix} \ |
---|
18 | > md5 47c99c60ec44e57070807c0890ba1c90 |
---|
19 | > distfiles-delete sbcl-${version}-source${subrevision}${extract.suffix} |
---|
20 | > checksums-delete ${distname}${extract.suffix} \ |
---|
21 | > md5 0dd65614533972500bbcd341de17182d \ |
---|
22 | > sha1 20105ec4edb370d85e8a5e4852b16ddb151d43fd \ |
---|
23 | > rmd160 54db825840b4e2cd00a9d86fd435df1eacaae61b |
---|
24 | > set host_lisp "\"${workpath}/sbcl-${bootversion}-x86_64-darwin/src/runtime/sbcl --core ${workpath}/sbcl-${bootversion}-x86_64-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" " |
---|
25 | > } else { |
---|
26 | > distfiles-append sbcl-${bootversion}-x86-darwin-binary${subbootversion}${extract.suffix} |
---|
27 | > checksums-append sbcl-${bootversion}-x86-darwin-binary${subbootversion}${extract.suffix} \ |
---|
28 | > md5 6e6b027a5fd05ef0c8faee30d89ffe54 |
---|
29 | > set host_lisp "\"${workpath}/sbcl-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/sbcl-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" " |
---|
30 | > } |
---|
31 | > } |
---|
32 | > |
---|
33 | 58c81 |
---|
34 | < distfiles ${name}-${version}-source${subrevision}${extract.suffix} |
---|
35 | --- |
---|
36 | > distfiles sbcl-${version}-source${subrevision}${extract.suffix} |
---|
37 | 60,61c83,84 |
---|
38 | < distname ${name}-${version}-source${subrevision} |
---|
39 | < worksrcdir ${name}-${version} |
---|
40 | --- |
---|
41 | > distname sbcl-${version}-source${subrevision} |
---|
42 | > worksrcdir sbcl-${version} |
---|
43 | 67a91,103 |
---|
44 | > post-fetch { |
---|
45 | > # For 64-bit SL, use a cvs version. |
---|
46 | > if {${build_arch} == "x86_64"} { |
---|
47 | > set cvsroot ":pserver:anonimous@sbcl.cvs.sourceforge.net:/cvsroot/sbcl" |
---|
48 | > set version "1.0.31.32" |
---|
49 | > set revision "0-cvs" |
---|
50 | > set worksrcdir "sbcl-${version}" |
---|
51 | > system "cd ${workpath} && /usr/bin/env ${cvs.env} cvs -d${cvsroot} login" |
---|
52 | > system "cd ${workpath} && /usr/bin/env ${cvs.env} cvs -z9 -d${cvsroot} co -f -r 1.0.31.26 -P sbcl" |
---|
53 | > system "cd ${workpath} && mv sbcl ${worksrcdir}" |
---|
54 | > } |
---|
55 | > } |
---|
56 | > |
---|
57 | 69c105 |
---|
58 | < reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \ |
---|
59 | --- |
---|
60 | > reinplace "s|/usr/local/lib/sbcl|${prefix}/lib/sbcl|g" \ |
---|
61 | 71c107 |
---|
62 | < reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \ |
---|
63 | --- |
---|
64 | > reinplace "s|/usr/local/lib/sbcl|${prefix}/lib/sbcl|g" \ |
---|
65 | 77d112 |
---|
66 | < |
---|
67 | 79,80c114,115 |
---|
68 | < system "ulimit -s 8192" |
---|
69 | < system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}" |
---|
70 | --- |
---|
71 | > # system "ulimit -s 8192" |
---|
72 | > system "cd ${worksrcpath} && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}" |
---|
73 | 104d138 |
---|
74 | < |
---|