From 40b6ea982c19ed8770c842029c43f29380115591 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 4 Jan 2001 15:10:17 +0000 Subject: 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. --- games/gnome-games/pkg/PLIST | 4 +++- games/quake3arena-demo/pkg/PLIST | 4 +++- games/quake3arena/pkg/PLIST | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/gnome-games/pkg/PLIST b/games/gnome-games/pkg/PLIST index 7cc36ff1309..349dcd9b71e 100644 --- a/games/gnome-games/pkg/PLIST +++ b/games/gnome-games/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2000/11/27 16:34:06 tron Exp $ +@comment $NetBSD: PLIST,v 1.10 2001/01/04 15:10:35 agc Exp $ bin/GnomeScott bin/ctali bin/freecell @@ -31,6 +31,8 @@ lib/gnome-stones/objects/libgnomekoban.la lib/gnome-stones/objects/libgnomekoban.so lib/libgdkcardimage.a lib/libgdkcardimage.la +lib/libgdkcardimage.so +lib/libgdkcardimage.so.0 lib/libgdkcardimage.so.0.0 share/gnibbles/level001.gnl share/gnibbles/level002.gnl diff --git a/games/quake3arena-demo/pkg/PLIST b/games/quake3arena-demo/pkg/PLIST index 548d614d31a..64391efac63 100644 --- a/games/quake3arena-demo/pkg/PLIST +++ b/games/quake3arena-demo/pkg/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/09 18:25:08 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/01/04 15:10:36 agc Exp $ bin/quake3arena-demo lib/lokigames/quake3arena-demo/demoq3/pak0.pk3 lib/lokigames/quake3arena-demo/q3ded lib/lokigames/quake3arena-demo/quake3arena-demo lib/lokigames/quake3arena-demo/icon.bmp lib/lokigames/quake3arena-demo/icon.xpm +lib/lokigames/quake3arena-demo/libMesaVoodooGL.so +lib/lokigames/quake3arena-demo/libMesaVoodooGL.so.3 lib/lokigames/quake3arena-demo/libMesaVoodooGL.so.3.2 share/doc/lokigames/quake3arena-Help/BotCommands.html share/doc/lokigames/quake3arena-Help/DedicatedServer.html diff --git a/games/quake3arena/pkg/PLIST b/games/quake3arena/pkg/PLIST index 3a1cfc75ecf..b63388cab11 100644 --- a/games/quake3arena/pkg/PLIST +++ b/games/quake3arena/pkg/PLIST @@ -1,5 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2000/12/14 01:38:14 wiz Exp $ +@comment $NetBSD: PLIST,v 1.3 2001/01/04 15:10:35 agc Exp $ bin/quake3arena +lib/lokigames/quake3arena/libMesaVoodooGL.so +lib/lokigames/quake3arena/libMesaVoodooGL.so.3 lib/lokigames/quake3arena/libMesaVoodooGL.so.3.2 lib/lokigames/quake3arena/q3ded lib/lokigames/quake3arena/quake3arena -- cgit v1.2.3