Commit graph

77 commits

Author SHA1 Message Date
abs
614825756d Handle shared libraries the same on Linux as Solaris and NetBSD 2001-05-22 10:31:07 +00:00
agc
4c970f9765 If a tag has not been given, and we're using a compiler which is not one
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
2001-05-09 10:24:11 +00:00
skrll
8e7c2715a6 Fix problem where CXX and CXXFLAGS were incorrectly used when --tag=CC is
specified.
2001-05-08 13:38:41 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
skrll
e575af0c4d Oops. Shouldn't have removed the FILESDIR.
This fixes PR/12690 from Tim Walls <tim.walls@pa.press.net>
2001-04-18 18:08:29 +00:00
skrll
65e72cd9d4 Share a common distinfo. 2001-04-17 16:56:15 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
skrll
5c5f1dbbce Implement a new deplibs_check_method called match_pattern and use it.
The use of file(1) was always disliked and it proved to cause problems
on some platforms.

Fixes pkg/12516 from Dam McMahill <mcmahill@mtl.mit.edu>
2001-04-03 17:06:16 +00:00
skrll
eab52d3728 Bump the buffer size even more for KDE2. As Hubert points out libtool
really shouldn't be creating a dependency_libs line quite as long as
it does...
2001-03-26 07:35:50 +00:00
skrll
3b77ca1864 Change the workaround for old compiler versions so that it actually works.
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.
2001-03-18 17:10:27 +00:00
skrll
a8d1e7fa28 Re-enable the -release option of libtool. ELF is fully supported with a.out
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>
2001-03-12 11:23:01 +00:00
skrll
18042ca643 Use MASTER_SITE_LOCAL 2001-03-01 08:40:15 +00:00
skrll
54ba5eaa02 Restore old numbering scheme for libraries on Solaris as discussed on
tech-pkg.
2001-02-28 21:20:30 +00:00
skrll
1649d7d5e2 Revert previous change it didn't work. Instead force the inclusion of a
CC tag configuration so that --tag=CC works.
2001-02-28 18:18:22 +00:00
skrll
184da7784d Fall back to the default configuration when unable to infer a tag.
This helps with c compilers that libtool doesn't recognise.

Bump the revision.
2001-02-28 10:16:57 +00:00
skrll
210431ba31 Add a missing file. 2001-02-27 21:56:08 +00:00
skrll
ba7d9319bd Update libtool to be based on a CVS snapshot of the multi-language branch 2001-02-27 08:20:23 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
skrll
d18265003e Add a missing colon 2001-02-11 10:12:04 +00:00
hubertf
3885198f90 Split into libtool-base and libtool-info, for easier system bootstrap.
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* !
2001-02-03 05:34:57 +00:00
tsutsui
91b95f4cc1 Use $CC_FOR_BUILD on checking system types in config.guess. 2001-01-26 17:33:26 +00:00
skrll
3e9ab94d03 Improve argument checking for -version-info. Bump to nb11. 2001-01-26 16:42:44 +00:00
tsutsui
d3a77be809 Use "uname -p" or "sysctl -n hw.machine_arch" to check system types
in config.guess. (From gnusrc/gnu/dist/toolchain/config.guess 1.3)
2001-01-24 12:55:34 +00:00
jlam
ea6b629982 Move check for C++ contructors/destructors to occur earlier to prevent
passing $whole_archive_flag_spec to nm.
2001-01-15 15:18:23 +00:00
jlam
794515481f The "check" target is defined in bsd.pkg.mk for some other purpose, so
don't usurp it.
2001-01-15 14:40:32 +00:00
scw
0835444e26 Fix config.guess to recognise mvme68k. 2001-01-14 21:43:12 +00:00
bad
e265140fc3 regen. 2001-01-09 18:38:13 +00:00
bad
1a86a78db2 On a.out systems link shared libraries against c++rt0.o only if there
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.
2001-01-09 18:37:46 +00:00
agc
9c2d582fc9 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.
2001-01-04 15:10:17 +00:00
bad
09b1c80876 USE_GTEXINFO=yes. 2001-01-04 13:05:23 +00:00
wiz
b22425b97c Update to 1.3.5nb10:
wllinklibs have to be before deplibs to take effect (else they won't get
added to the RPATH, at least not on i386/current).
2000-12-28 17:55:37 +00:00
mycroft
528407f9bb Bump libfool version. 2000-11-26 21:12:54 +00:00
mycroft
754ef257be Set need_lib_prefix=no for all NetBSD platforms. gnumeric import modules and
gnome-python modules don't work without this.
2000-11-26 21:00:10 +00:00
tron
15956d6339 Update "libtool" version number after recent changes by Charles M. Hannum. 2000-11-26 20:38:53 +00:00
mycroft
c0f325e33c *SIGH*
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.
2000-11-26 11:22:40 +00:00
mycroft
94a0b17298 Regen. 2000-11-26 11:04:18 +00:00
mycroft
0619a2f2cd need_version is mostly bullshit. It only succeeds in breaking everything that
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.)
2000-11-26 11:03:42 +00:00
skrll
9ad61bf074 Bump libtool version for mycroft's changes to a.out library dependencies.
make check will fail on a.out platforms due to lib/10940.
2000-11-17 09:58:49 +00:00
mycroft
69fa62655d Make libtool actually use library dependencies for a.out, since we do in fact
support them.  This fixes a whole pile of lossage in GNOME-land.
2000-11-17 05:24:00 +00:00
wiz
3cb62d5fee rm -> ${RM} 2000-10-21 22:23:00 +00:00
hubertf
93c490df1b It seems the info-files distributed with libtool 1.3.5 are broken.
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.
2000-10-14 16:11:35 +00:00
skrll
54367d8e8a Make sure that -Wl does the right thing on a.out.
Make sure that an -fPIC c++rt0 is pulled in for sparc<1.4.3

Fixes: pkg/11166, pkg/10190, pkg/11189, and port-sparc/10846
2000-10-12 19:07:06 +00:00
skrll
ab3ca03431 Depreciate use of cc -shared as test and cc as linker in a.out case.
Bump to nb5.

This fixes PR/10908.
2000-09-14 10:20:46 +00:00
veego
c175eb34f1 Also use the solaris library naming on Solaris and not the linux one. 2000-08-26 07:35:18 +00:00
jun
d968a397f8 regen. 2000-08-01 19:15:03 +00:00
jun
bd82b2d027 add
configration for mipsel(arc/cobalt/hpcmips/pmax).
2000-08-01 19:13:07 +00:00
skrll
938f1507f4 Update to support C++ in a different way to pkglibtool. There is no
--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.
2000-06-29 08:06:05 +00:00
rh
cfce428064 Fix aout brokenness. Bump libtool to 1.3.5nb3. 2000-06-04 17:56:15 +00:00
rh
6d18f63ecc Prepend '-Wl,' to linker flags so compiler frontend doesn't choke on
unknown linker switches.  Patch provided by Dave Sainty in private mail.
Bump libtool to 1.3.5nb2
2000-06-04 16:46:46 +00:00
rh
b3f7935777 Pull in some of the libtool-current changes to handle -Wl linker options,
making runtime library path settings work again.
Bump version to 1.3.5nb1
2000-06-01 09:36:45 +00:00