Commit graph

43 commits

Author SHA1 Message Date
tv
c12846d533 Make -export-symbols work properly under Interix. (The Interix ld(1) does
not implicitly add `_' to -retain-symbols-file values, so we have to add
it manually before doing the physical link.)
2004-10-11 16:51:56 +00:00
tv
f8ff936407 nb2: Make the "echo" substitute work on Interix. Noted by
Hiramatsu Yoshifumi <hiramatu@boreas.dti.ne.jp> in PR pkg/27182.
2004-10-08 17:37:50 +00:00
tv
4bee2600f9 Fix completely hosed test for g++ when CXX=g++. The old test worked fine.
Revert until the hosage is tracked down and eliminated at the source.

(Bump to libtool-1.5.10nb1, and make this the required version.)
2004-10-04 19:48:09 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
grant
1de0489d6f fix shared library names on OpenBSD after upgrade to libtool 1.5.x.
fixes PR pkg/25527 from Adrian Portelli.
2004-05-25 15:17:07 +00:00
danw
4c76be3f7c fix up Darwin patches 2004-04-23 01:17:25 +00:00
tv
c46bf70f73 Update to 1.5.6 (OK'd by skrll).
* In libtool-base, generate shlibtool with a simple sed script; no full
  build is actually needed.

Changelog:

New in 1.5.6: 2004-04-11; CVS version 1.5.5a, Libtool team:
* Installs libltdl files properly in $prefix/share/libtool/libltdl. 1.5.4
  did not install them at all.
* libltdl correctly guesses the extension for loadable modules again.

New in 1.5.4: 2004-04-03; CVS version 1.5.3a, Libtool team:
* Bug fixes.
2004-04-22 14:40:29 +00:00
tv
fb2161906d Update Interix support once more (deliberately no PKGREVISION bump);
add a random image base address for shlibs that's more likely to be "out
of the way" from the rest of the OS and application.
2004-04-21 19:24:49 +00:00
tv
c0823fd31e libtool 1.5.2nb7: Another Interix fix, this time removing any usage of
-fpic or -fPIC, as those produce horribly broken code.  Rather, shlibs
are relocated at runtime by the NT loader, and are compiled without any
special PIC option.
2004-04-21 14:55:32 +00:00
tv
832847381c Move the libtool changes back to .m4 patches, but keep these out of the
way of automatic patching so automake doesn't come into play (and so that
the changes don't show up in the installed autoconf m4 fragments).

Add Interix3 support.  Bump PKGREVISION to 1.5.2nb6.
2004-04-20 18:29:34 +00:00
danw
41cdf1f7c8 disable -all-static for OS X since it just causes a linking error
(http://developer.apple.com/qa/qa2001/qa1118.html)
2004-03-12 00:11:17 +00:00
markd
e7ccabad95 Fix version_type settings for the non-NetBSD platforms in the CXX and
F77 cases.

PKGREVISION++
2004-02-23 10:54:08 +00:00
skrll
6bab53dede Fix the installation of libltdl on non-NetBSD platforms and correct a
typo in version_type for BSD/OS.

PKGREVISION++
2004-02-08 11:21:58 +00:00
skrll
0c157532de The long awaited update libtool to 1.5.2.
Some pkgsrc things
	- Fix PLISTs for packages that use -release
	- Include canonicalisation of a couple of paths for the benefit
	  of qt3-*
	- the normal version=sunos patching
	- fix all library_names_spec for the standard set of symlinks

The libtool things some of which had already made it into pkgsrc libtool.

New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team:
* lt_dlrealloc is an official part of the libltdl API.
* --tag, --silent and --debug options are preserved and reused when libtool
  calls itself for relinking etc.
* `-pthread' and similar options are honoured when linking shared libraries.
* -no-suppress in compile mode shows compiler output for both PIC and non-PIC
  object compilation.
* New link mode option `-precious-files-regex' to prevent accidental removal
  of files you want to keep, such as test coverage data, from the temporary
  output directory.
* Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux.
* Recognises the 'R' symbol type on Solaris so read-only symbols can be
  exported.
* Bug fixes.

New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team:
* First stable release of multi-language architecture.
* libtool and libltdl support for Mac OS/X.
* libltdl will now use cygwins dlopen API instead of always forcing
  LoadLibrary.
* Support auto-import patch to binutils on cygwin for much improved dll
  support.
* Bug fixes.

New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne:
* The libltdl subdirectory now bootstraps correctly with Automake 1.5.
* srcdir != builddir builds with Automake 1.5 work correctly.
* Support for mips-compaq-nonstopux.
* New command line argument, --preserve-dup-deps prevents removal of
  duplicate dependent libraries.

New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team:
* Help strings display correctly again.
* Better error messages when library linking fails.
* Better error messages from libltdl when loading fails.
* Better search path management in libltdl with `lt_dlinsertsearchdir' call.
* Support /lib/w32api in recent cygwin releases.
* Support cross compilation to mingw.
* Support for .rc files (Windows resource compiler).
* Improved handling of mingw gcc.
* Improved handling of $PATH with entries containing spaces.
* Improved support for linking with gcc on aix4* and aix5*.
* Improved support for GCC 3.0.
* Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8.
* Bug fixes to the OpenBSD port.
* Bug fixes.

New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan:
* libltdl now builds on solaris again
* diagnose and warn about not-quite-working combinations of gcc and
  ld on solaris.
* Improved OpenBSD support.
* Improved cygwin support.
* Bugfixes.

New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team:
* Better error messages from libltdl when loading fails.
* Don't leave here-doc files behind.
* Improved support for OpenBSD.
* Libtool will build with autoconf-2.50 and higher.
* Plug memory management bugs in libltdl.
* Prefer shl_load to dlopen for better operation on HP-UX.

New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team:
* Now bootstraps with autoconf-2.50 and automake-1.4-p4.
* Always try to build at least a static lib, even if both static and
  shared libs were disabled.
* Full support for C++ compiler.
* Support for GNU gcj compiler.
* libltdl can now load all modules in a given path according to user
  supplied criteria with `lt_dlforeachfile' call.
* Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*.
* Internal mutex handling no longer has namespace clashes on NCR MP-RAS.
* New pdemo and tagdemo tests.
* Bug fixes.
2004-02-05 20:14:05 +00:00
grant
a8f9a4f010 make the library names we create on Darwin be consistent with what
pkgsrc expects and what other platforms use.

note that we can't simply use version_type=sunos, since the Darwin
linker requires libtool to pass -compatibility_version and
-current_version so they are coded into the library header.

this fixes the problem of having libname.x.dylib files which were not
registered in the PLIST, and thus were leftover after package removal.

ok'd by jlam.
2003-10-05 08:19:19 +00:00
grant
da2439d664 set need_version=no on Darwin, from libtool 1.4.3.
This should fix PR 19271 from Jason Thorpe.

ok'd by nick.
2003-01-21 22:43:42 +00:00
jschauma
4d51560769 When checking for operation mode, add a case for 'CC', Irix' C++ compiler.
(Only apply this change to ltmain.sh, this time! ;-)
2002-12-25 19:35:21 +00:00
jschauma
7f56109057 Make sure that shlibs built on IRIX use the same major version number as on
others.
2002-12-23 19:32:12 +00:00
skrll
8186bff76a Fix a bug when inferring the CXX tag which meant that for certain
libraries the following could occur

	- a.out platforms: c++rt0.o would be missing and therefore
	  global contstructors would not work.

	- ELF platforms libstdc++ and libm would not be explicitly
	  linked in.

This affected notably libqt and explains the build failure of kdelibs2 on
arm32.

Bump PKGREVISION and require it.
2002-03-26 16:31:27 +00:00
skrll
bc353bae49 Pull in a change from libtool-current that changes the dependency
recording strategy and a flag (--preserve-dup-deps) to provide the old
stratey if needed. The new strategy reduces the length of the
dependency_libs information stored in .la files and therefore the length
of link lines. This has a positive effect on performance.

Pull across the documentation updates for the change.

Bump the PKGREVISION.

This was tested by building and running both KDE and Gnome.
2002-03-01 15:40:43 +00:00
skrll
52396237fe Fix --mode=execute quoting problem.
Bump to nb2. Fix has been sent to libtool maintainers.
2001-06-20 08:10:49 +00:00
skrll
2ade3dfe16 Update libtool to a newer snapshot.
Notable changes are:

	* Fix memory leak in libltdl
	* Handle large dependency_libs entries in .la files better
	* Integration of a lot of the NetBSD changes
2001-06-14 14:55:45 +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
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
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
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
ba7d9319bd Update libtool to be based on a CVS snapshot of the multi-language branch 2001-02-27 08:20:23 +00:00
skrll
3e9ab94d03 Improve argument checking for -version-info. Bump to nb11. 2001-01-26 16:42:44 +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
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
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
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
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
tv
e9b1ca5dea Switch USE_LIBTOOL pkgs to use pkglibtool, and revert libtool back to a
"vanilla" libtool (pkg now called glibtool) that understands NetBSD ELF.
1998-10-02 14:49:33 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
tv
5b9f761eb7 Add the option --install-la to libtool (ignored except during
installation) which will enable the GNU libtool behavior of installing the
.la files.  Needed by KDE for the kdelibs and kdesupport.
1998-07-21 21:10:22 +00:00
tv
0948133fc8 Eliminate ".la file is not installed" warnings - our linker doesn't
require relinking of .so-linked objects, so do not worry about
finalization.
1998-07-17 14:48:15 +00:00
tv
ce44544840 Change libtool _not_ to install the .la file. Though marked as "for
informational purposes," it's not used by any of the toolchain and is
pretty much useless.
1998-07-16 13:36:47 +00:00
tv
36d40cbb07 Add and activate libtool (with a.out and ELF support), a GNU utility for
making static and shared libraries in a machine-independent fashion.
1998-07-13 01:53:49 +00:00
tv
cf2bb8ecf6 Import of FreeBSD's libtool pkg (patches to follow). 1998-07-13 01:50:08 +00:00