of the ones with which libtool was built, attempt to infer the compiler
from the first word of the command line passed to libtool.
We only reach this test if libtool is about to die with a message about
lacking a specific tag, so this change is the least intrusive that can
be made.
This means that different CC options can now be recognised when compiling.
Bump version number to nb6
Actually simply the workaround in the process.
Fixes problems noted by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> on
tech-pkg and David W. Talmage <talmage@ricochet.net> in private email.
Tested by SUNAGAWA Keiki.
support to follow. Note this in documentation.
Bump revision of libtool to nb3 and update dependencies.
Update (sort) known affected PLISTs.
Fixes pkg/12368 by Kimmo Suominen <kim@tac.nyc.ny.us>
Fixes problems with cross/* noted on tech-pkg and packages by
Chuck Cranor <chuck@research.att.com>, and
Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
This meta-package pulls in the other two parts.
XXX any modifications should be made to this pkg's Makefile.common, patches,
XXX files dir etc. *only* !
actually are CTORS/DTORS in the objects that go into the library.
This makes pkgsrc under 1.3.x not blow up on C libraries that were built
with libtool. E.g. everything that linked against -lintl would dump core.
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.
The previous patch could cause problems in a couple of oddball cases.
So, set need_version=yes for a.out, and hack avoid-version so it works on
a.out platforms.
loads shlib components at run-time on a.out systems (such as imlib, gtk themes,
gdk-pixbuf, and gnumeric). So, disable it for all NetBSD platforms.
(Note: This requires updating some PLISTs.)
To test, type "info libtool|" and hold down space. See it stop with a
``Cannot find the node "(/usr/pkg/info/libtool.info)Linking executables"''
error. Simply making sure the info-files get re-done works here.
--cplusplus option is should just work. Thanks to Todd Verling for
help with this.
I've been sitting on this update while I played with
deplibs_check_method for a.out. There seems to be a problem related
to dlopen stuff if file_magic is used. Still investigating.
Version bumped to nb4.