Porting - 5. Preparing for 10.3
5.1 Perl
In OS X 10.2, /usr/bin/perl
was perl 5.6.0
and the architecture string was "darwin". In OS X
10.3, /usr/bin/perl
was upgraded to perl
5.8.1 and the architecture string was changed to
"darwin-thread-multi-2level". These changes probably do
not affect ordinary uses of the perl executable for package
creation since each perl executable knows where to find its own modules.
Maintainers of perl-module ("-pm") packages who follow the current
Perl
Modules packaging policy and are careful to follow the
CompileScript
and InstallScript
documentation will already have things set up correctly.
5.2 New symbol definitions
Starting in Mac OS X 10.3, there is now always a complete
definition for the socklen_t
type. To get this
typedef defined, you may need to add to your program:
#include <sys/types.h> #include <sys/socket.h>
5.3 New builtin system libraries
Mac OS X 10.3 includes several libraries that were not in previous system releases, and so were provided as fink packages:
Field | Value |
---|---|
libpoll |
The files |
libdl |
The files |
GNU getopt |
This library, including the |
When migrating a package to OS X 10.3, try to remove these
deprecated dependencies, as those packages may be removed from these
newer package trees in the future. This means you will need a separate
package description file for each tree. As always,
the Revision
must be increased when making changes to
a package. In this manner, a user who upgrades from OS X 10.2 to
10.3 will see 10.3-specific packages as "newer" than his
existing 10.2 ones. By convention, the Revision
should be increased by 10 when changes are made for migration to a
higher tree inn order to leave space for the lower-tree package to be
updated in the future.
When testing a migrated package, make sure to uninstall the
packages whose BuildDepends
you removed. Otherwise
the compiler may still link the Fink-supplied libraries.
Next: 6. Preparing for 10.4