Ticket #37166: Portfile.diff
File Portfile.diff, 2.4 KB (added by ci42, 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name erlang 7 version R15B0 27 version R15B03 8 8 categories lang erlang 9 9 maintainers bfulgham 10 10 platforms darwin … … 41 41 otp_doc_html_${version}${extract.suffix} 42 42 43 43 checksums otp_src_${version}.tar.gz \ 44 rmd160 0ccfaa5abd3556f679ef1a6f4d2fcb9bfd3c14e8\45 sha256 03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158\44 rmd160 fffe8d93db8c03f4ab28823880b338c86a0e7e42 \ 45 sha256 d1ee5dd3833537ad7533f2deaf164936508c55c992c2b930f0c4c4559d40aa12 \ 46 46 otp_doc_man_${version}.tar.gz \ 47 rmd160 a06facd31a556f4faaa0c48977637a9af37bdd52\48 sha256 e27ed26259a2560b81e02b89190ae2a3bf0a777dc2e875f9615adab0a5388f95\47 rmd160 c919a4cbf98d11b7280d4e83468038c5b095e8e7 \ 48 sha256 0a5a01f8c6050551c1ba0591de42731a6640370e7527fae81cdfe3d3d6af0a6b \ 49 49 otp_doc_html_${version}.tar.gz \ 50 rmd160 066ccd6f4edcef587f085fc4772b6de042b638a0\51 sha256 be166976a651da4ea2588b9d277a6684a2d4318b37e8fc029365e992ec40451850 rmd160 cce3b998cd1a15b4a1339c25fa47c27c3be4f656 \ 51 sha256 00595ba3055a1282a18344467c865a416e05ef6e883c2702eded7ac40fc6c50c 52 52 53 53 pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} } 54 54 … … 73 73 74 74 # Erlang seems to have an on-again/off-again relationship with Clang. 75 75 # As of XCode 4.2, it's off again. 76 if {${configure.compiler} == "clang"} { 77 configure.compiler llvm-gcc-4.2 78 } 76 compiler.blacklist clang 79 77 80 78 post-destroot { 81 79 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" 82 80 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" 83 81 84 set erts_dir erts-5.9. 285 set erl_interface_dir erl_interface-3.7. 882 set erts_dir erts-5.9.3 83 set erl_interface_dir erl_interface-3.7.9 86 84 set wx_dir wx-0.99.2 87 85 88 86 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl