| | 63 | |
| | 64 | === revision 2 (bonefish) - [Haiku] === |
| | 65 | |
| | 66 | ==== Changes [http://ports.haiku-files.org/svn/haikuports/trunk/dev-lang/perl/perl-5.10.0.diff patch] ==== |
| | 67 | |
| | 68 | {{{Configure}}}: |
| | 69 | - Link libraries with {{{-shared}}} on Haiku. |
| | 70 | - Build a shared libperl.so. |
| | 71 | - No other flags for building libperl.so. |
| | 72 | {{{MANIFEST}}}: |
| | 73 | - Added new files. |
| | 74 | {{{README.haiku}}}: |
| | 75 | - README for the Haiku port. |
| | 76 | {{{ext/Errno/Errno_pm.PL}}}: |
| | 77 | - Error code definitions are in the same header as in BeOS. |
| | 78 | {{{ext/Haiku/}}}: |
| | 79 | - A Haiku module providing the functions debug_printf(), ktrace_printf(), and debugger(). |
| | 80 | {{{ext/POSIX/POSIX.xs}}}: |
| | 81 | - Work-around for the incorrect use of W*() macros on the Perl-internal representation of exit statuses. |
| | 82 | {{{ext/Time/HiRes/t/HiRes.t}}}: |
| | 83 | - Haiku doesn't support VALARM yet (revisiton 28311). |
| | 84 | {{{haiku/haikuish.h}}}: |
| | 85 | - Haiku is unixish, but we need to include <sys/wait.h> so that the W*() macros are defined in perl.h. |
| | 86 | {{{hints/haiku.sh}}}: |
| | 87 | - Configuration hints for Haiku. |
| | 88 | {{{lib/CPANPLUS/Internals/Constants/Report.pm}}}, {{{lib/ExtUtils/CBuilder.pm}}}, {{{lib/ExtUtils/MM.pm}}}, {{{lib/Module/Build.pm}}}: |
| | 89 | - List Haiku, so those modules work on it correctly. |
| | 90 | {{{lib/ExtUtils/MM_Haiku.pm}}}: |
| | 91 | - MakeMaker support for Haiku. |
| | 92 | {{{perl.h}}}: |
| | 93 | - Same problem as with BeOS. S_IREAD/S_IWRITE are defined, but in <sys/file.h> which is included later. |
| | 94 | - Include haiku/haikuish.h. |
| | 95 | - Same problem as in BeOS, O_TEXT is defined, but has no effect and should lead Perl to believe we have DOS line endings. |
| | 96 | {{{pod/perlport.pod}}}: |
| | 97 | - Added Haiku. |
| | 98 | {{{t/io/fs.t}}}: |
| | 99 | - No stat::st_atime support in BFS. |
| | 100 | |
| | 101 | ==== Configuring/Building ==== |
| | 102 | {{{ |
| | 103 | ./Configure -Dcf_email=ingo_weinhold@gmx.de -de |
| | 104 | make |
| | 105 | make test |
| | 106 | }}} |
| | 107 | |
| | 108 | Replace email address with that of the porter. |
| | 109 | |
| | 110 | ==== Tests ==== |
| | 111 | |
| | 112 | Four tests fail: |
| | 113 | - {{{ext/Socket/t/socketpair.t}}}: Haiku doesn't support Unix datagram sockets yet. |
| | 114 | - {{{ext/Sys/Syslog/t/syslog.t}}}: Haiku doesn't support /dev/log yet. |
| | 115 | - {{{lib/Net/Ping/t/450_service.t}}}: Bug in TCP/network stack. |
| | 116 | - {{{lib/Net/Ping/t/510_ping_udp.t}}}: Probably a bug in UDP/network stack. |
| | 117 | |
| | 118 | ==== Install ==== |
| | 119 | {{{ |
| | 120 | make install |
| | 121 | chmod a+x /boot/common/bin/perl |
| | 122 | cd /boot/common/lib; ln -s perl5/5.10.0/BePC-haiku/CORE/libperl.so . |
| | 123 | }}} |
| | 124 | |
| | 125 | For some reason the perl executable isn't installed with executable permissions. The symlink /boot/common/lib/libperl.so is missing. |
| | 126 | |
| | 127 | |
| | 128 | == 5.11.0 (perl-current aka. blead) == |
| | 129 | |
| | 130 | ||R5||untested|| |
| | 131 | ||BONE||untested|| |
| | 132 | ||Haiku||stable|| |
| | 133 | |
| | 134 | === revision 1 (bonefish) - [Haiku] === |
| | 135 | |
| | 136 | Cf. 5.10.0 revision 2. |
| | 137 | |
| | 138 | ==== Changes [http://ports.haiku-files.org/svn/haikuports/trunk/dev-lang/perl/perl-current.diff patch] ==== |
| | 139 | |
| | 140 | Changes are the same as for 5.10.0 revision 2 with the exception of {{{ext/POSIX/POSIX.xs}}}, which uses the WMUNGE() macro again -- it had been dropped sometime after 5.10.0. |
| | 141 | |