Ticket #26971: Portfile-erlang.diff
File Portfile-erlang.diff, 4.4 KB (added by cerfdog69@…, 14 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name erlang 5 version R14 A5 version R14B 6 6 categories lang erlang 7 7 maintainers bfulgham 8 8 platforms darwin … … 28 28 master_sites http://www.erlang.org/download/ \ 29 29 http://www.erlang.org/download/patches/:patches 30 30 31 31 32 # Parallel build doesn't work as per R13B01 32 33 use_parallel_build no 33 34 … … 37 38 otp_doc_man_${version}${extract.suffix} \ 38 39 otp_doc_html_${version}${extract.suffix} 39 40 40 checksums otp_src_${version}.tar.gz \41 md5 a24873bbace9ab3c307f3d2492d9e134\42 sha1 286bad025985f5c6b9761cf05c0b6b68f7cb1874\43 rmd160 9b2ad4e2d0c007a4776ea8e5cc8d344107e51dd5\44 otp_doc_man_${version}.tar.gz \45 md5 b57a7846818ad144b1b6ecc0a54de2ae\46 sha1 320c95a73fe4ec8e42d2ea29de5562a1be8c1c50\47 rmd160 699afefd28ffa12938dcdde6f98aa23290adf7b3\48 otp_doc_html_${version}.tar.gz \49 md5 fbb325f10b2d0a9439f2ce2c3e7e1c11\50 sha1 478a80fb4ed9747efbdb2925ff46ee2809ba5340\51 rmd160 b59262b97dd5d42c660413c18f396230d424e64441 checksums otp_src_R14B.tar.gz \ 42 md5 5292a04556d17ad528d570e02357dfbb \ 43 sha1 811c17346415159644f16387f1267004a632c452 \ 44 rmd160 69578a2019fcaab4e7c11f2d1d2d5eef21d5c5fa \ 45 otp_doc_man_R14B.tar.gz \ 46 md5 011530a24fbcc194be9bd01f779325a2 \ 47 sha1 92f9ae963cfa40c1d49b3e928c225cb8362b53c3 \ 48 rmd160 4c11c653e231edbab0f3f8a7b7fdc275911ed845 \ 49 otp_doc_html_R14B.tar.gz \ 50 md5 2294757773a0cf4c036f602fbb9fc4fb \ 51 sha1 d752b4bdc89d64bffde41e64b118eb7c0a8f7c72 \ 52 rmd160 a7a100971543cc238dfeaf010028dea7261673f5 52 53 53 54 pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} } 54 55 55 56 # http://www.erlang.org/pipermail/erlang-bugs/2009-January/001171.html 56 patchfiles patch-toolbar.erl \57 patch-erts_emulator_Makefile.in \58 patch-erts_emulator_hipe_hipe_amd64_asm.m4.diff \59 patch-erts_emulator_hipe_hipe_amd64.c.diff \60 patch-erts_emulator_sys_unix_sys_float.c.diff \61 patch-erts_configure.diff \62 patch-lib_ssl_c_src_esock_openssl.c \63 patch-lib_wx_configure.in \64 patch-lib_wx_configure57 patchfiles #patch-toolbar.erl \ 58 # patch-erts_emulator_Makefile.in \ 59 # patch-erts_emulator_hipe_hipe_amd64_asm.m4.diff \ 60 # patch-erts_emulator_hipe_hipe_amd64.c.diff \ 61 # patch-erts_emulator_sys_unix_sys_float.c.diff \ 62 # patch-erts_configure.diff \ 63 # patch-lib_ssl_c_src_esock_openssl.c \ 64 # patch-lib_wx_configure.in \ 65 # patch-lib_wx_configure 65 66 66 67 configure.args --prefix=${prefix} \ 67 68 --enable-kernel-poll \ … … 78 79 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}" 79 80 system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}" 80 81 81 set erts_dir erts-5.8 82 set erts_dir erts-5.8.1 82 83 83 84 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl 84 85 reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start … … 97 98 # current doesn't compile (bug #20235), we can avoid it here. 98 99 depends_build-delete port:wxWidgets 99 100 100 patchfiles-delete patch-lib_ssl_c_src_esock_openssl.c101 # patchfiles-delete patch-lib_ssl_c_src_esock_openssl.c 101 102 102 103 # 10.6 (and 10.6.1) has a bad bug related to using dlopen in a thread. 103 104 # rdar://7209349 - http://www.openradar.appspot.com/7209349 104 105 # This is a workaround. 105 patchfiles-append patch-erts_emulator_sys_unix_ddll.c.diff106 # patchfiles-append patch-erts_emulator_sys_unix_ddll.c.diff 106 107 configure.ldflags-append -framework CoreFoundation 107 108 } 108 109