From 9c2d582fc9678b1f1e5902ac348cb99812ed5f52 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. --- emulators/wine-current/pkg/PLIST | 4 +++- emulators/wine/pkg/PLIST | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'emulators') diff --git a/emulators/wine-current/pkg/PLIST b/emulators/wine-current/pkg/PLIST index 0ee0425a376..38cdbb42e25 100644 --- a/emulators/wine-current/pkg/PLIST +++ b/emulators/wine-current/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/15 20:50:47 tv Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/01/04 15:10:35 agc Exp $ bin/dosmod bin/wine etc/wine.conf.example @@ -6,6 +6,8 @@ include/wine/windef.h include/wine/windows.h include/wine/wingdi.h include/wine/winuser.h +lib/libwine.so +lib/libwine.so.1 lib/libwine.so.1.0 lib/wine.sym man/man1/wine.1 diff --git a/emulators/wine/pkg/PLIST b/emulators/wine/pkg/PLIST index 0b6232c258f..622ca0d5130 100644 --- a/emulators/wine/pkg/PLIST +++ b/emulators/wine/pkg/PLIST @@ -1,9 +1,11 @@ -@comment $NetBSD: PLIST,v 1.7 1998/12/14 02:17:13 tv Exp $ +@comment $NetBSD: PLIST,v 1.8 2001/01/04 15:10:35 agc Exp $ bin/dosmod bin/wine etc/wine.conf.example include/wine/windows.h include/wine/wintypes.h +lib/libwine.so +lib/libwine.so.1 lib/libwine.so.1.0 lib/wine.sym man/man1/wine.1 -- cgit v1.2.3