diff options
author | agc <agc> | 2001-01-04 15:10:17 +0000 |
---|---|---|
committer | agc <agc> | 2001-01-04 15:10:17 +0000 |
commit | 40b6ea982c19ed8770c842029c43f29380115591 (patch) | |
tree | db20fcdd2f38bf4d7f9ea8eafac9c6c9643e05a9 /lang/gb | |
parent | 6cd584dc159753a11d321a0165c321a8ea997456 (diff) | |
download | pkgsrc-40b6ea982c19ed8770c842029c43f29380115591.tar.gz |
The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
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.
Diffstat (limited to 'lang/gb')
-rw-r--r-- | lang/gb/pkg/PLIST | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gb/pkg/PLIST b/lang/gb/pkg/PLIST index df4691306e9..799791005e6 100644 --- a/lang/gb/pkg/PLIST +++ b/lang/gb/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2000/12/30 18:41:21 rh Exp $ +@comment $NetBSD: PLIST,v 1.4 2001/01/04 15:10:45 agc Exp $ bin/gb include/gb/gb-constants.h include/gb/gb-eval.h @@ -27,9 +27,13 @@ include/gbrun/objects/libgbobj.h lib/gbConf.sh lib/libgb.a lib/libgb.la +lib/libgb.so +lib/libgb.so.0 lib/libgb.so.0.0 lib/libgbrun.a lib/libgbrun.la +lib/libgbrun.so +lib/libgbrun.so.0 lib/libgbrun.so.0.0 @dirrm include/gbrun/objects @dirrm include/gbrun |