out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
not built in a batch on 1.4 (it may compile, ut it doesn't run).
Also make library building more uniform regardless of MKxxxx or
NOxxxx settings in mk.conf.
installation, if installing as part of a binary package.
Add @dirrm's to clean up after ourselves when doing pkg_delete
All the mit-pthreads mods are either from, or inspired by, Simon J.
Gerraty <sjg@cdn.telstra.com.au>
+ use native make, rather than gmake - this gives us the profiled
library, and PIC library too, and also means we can get rid of my
previous hacks to specify the correct prefix.
+ add in support for the system call previously known as getdirentries
using getdents(2), if it exists. Note that the patch for this needs
2 lines of context to avoid an Id in the patch file.
implementation, version 1.60beta6. Passes all its self tests on
NetBSD/i386 1.2G. Not tested on any other architecture.
Please note that this installs into ${PREFIX}/pthreads/...