Commit graph

71 commits

Author SHA1 Message Date
joerg
ea96bde119 Update to libtool 1.5.24:
- fix regression on DragonFly [patched before]
- don't remove paths to uninstalled libs [patched before]
- initial support for Sun compilers on Linux
- better suport for GNU/kNetBSD and GNU/kFreeBSD
- fixes for GCC multilib on x86_64 and similiar system.
- documentation for --tag.
- getconf ARG_MAX is used to find maximum argument length.
2007-09-15 12:11:44 +00:00
tnn
e710ab6269 Use "nm -p" to extract symbol table on HP-UX. ok joerg@ 2007-04-18 16:31:18 +00:00
joerg
1d4ce43e38 Take maintainership. 2007-04-04 18:09:22 +00:00
tv
419779e04a Reassign to tech-pkg@. (Not pkgsrc-users@. This is a critical pkgsrc
component tool, so a more direct communication route is warranted for
inquiries about this specific package.)
2007-04-04 14:42:45 +00:00
joerg
f5d0c70da3 DESTDIR support. 2006-11-01 09:01:56 +00:00
tv
ae3489ec53 Use "tv@NetBSD.org" as my MAINTAINER address; makes identifying me as a
PR-responsible person (such as I am ;) a little easier.
2006-03-22 22:50:31 +00:00
tv
f6b0d765bb Update libtool to 1.5.22. Too many changes for CVS commit logs; here's
some highlighted changes:

* Fixes minor /tmp race condition bug.
* Integrated Interix support; no longer requires pkgsrc hackery.
* shlibtool is a wrapper using the (now working) "--tag=disable-static".
* Several other bugs fixed, removing some pkgsrc-local changes.
2006-01-30 22:19:56 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
tv
2a39efa9b4 libtool-base 1.5.18nb1: Update the patches per manual.README.
While here, since those instructions are still not being heeded, make the
warning comment extremely loud and obnoxious, and put it in both
libtool/Makefile.common and libtool-base/Makefile.
2005-05-18 14:40:04 +00:00
adam
baf35bc697 Changes 1.5.18:
* Fix regression in 1.5.16 to not install libtldl data files from
  `libtoolize --ltdl'ed software packages.
* Bug Fixes.

Changes 1.5.16:
* Allow shell special characters like `$' in source file names, but not
  in object names, to enhance GCJ support.
* Detection of compiler wrappers like distcc/ccache and $host_alias prefix.
* More robust tests for PIC flag, `-c -o', in presence of warnings.
* Bug Fixes, among others for convenience archives regression on Solaris
  and timestamp-preserving `libtoolize --copy --ltdl'.
2005-05-18 11:57:01 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
b6ec46771a Update to 1.5.14, and switch DragonFly to version_type=linux.
Change summary since 1.5.10:

	* ltmain.in: Add -pthread like flags when linking executables too.

	* ltmain.in (func_extract_archives) [darwin]: This didn't actually
	work on a real fat archive, should do now.

	* tests/func_extract_archives.test: remove darwin fat tests which
	did not actually work.

	* ltmain.in (link mode): Allow five digits in version-info

	* ltmain.in (link mode): With piecewise (partial) linking, fix
	intermediate output name for subdir-objects.

	* ltmain.in [darwin]: Don't add installed libs to temp_rpath when
	building executables on darwin, or other systems which use
	hardcode_automatic. It may break our wrapper scripts.

	* ltmain.in [darwin]: Allow -framework foo through when given on
	the command line.

	* ltmain.in [irix]: Preserve processor option for SGI Compiler
	(-r[0-9][0-9]*).

	* ltmain.in: Don't pass through compiler-like thread flags when
	using $LD to do the linking. Use compiler_flags instead.
	Reported by Mark_Andrews@isc.org.

	* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
	/etc/ld.so.conf, skip comments.

	* ltmain.in (func_extract_archives): Not all shells grok
	`read -r' (unnecessary in this case).
	Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.

	* libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for
	whole_archive_flag_spec.  Missing backport reported by Ralf Menzel

	* libtool.m4 [linux] (AC_LIBTOOL_PROG_COMPILER_PIC): match
	$cc_basename, not $CC against icc.  Also, for symmetry match
	icpc* and ecpc* (ia64 version of icpc).

	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret
	`include' statements in toplevel ld.so.conf file.

	* config/ltmain.in (func_mode_link): When linking an installed
	libtool library on the command line using -lfoo we need to find
	the library in the search paths and add it's dependency_libs to
	the link in the conv pass so that any libtool libs listed are
	correctly expanded in the link pass.
2005-03-22 15:12:07 +00:00
tv
207151e5cf Since some platforms (notably IRIX) don't like the autoconf cache, don't
try forcing it on; rather, go back to autoconf's default of no cache file.
2005-01-19 16:33:55 +00:00
tv
aa4ef07f8f Well, I suppose I'm the de facto MAINTAINER now, so make it so. 2004-11-29 03:15:35 +00:00
grant
6fbd3bcf4e use "nm -B" to extract symbol table on OSF1. 2004-11-20 10:10:35 +00:00
tv
695bd01a06 Pass RANLIB path down to libtool's configure script; addresses PR pkg/27217. 2004-10-17 16:37:02 +00:00
tv
ef4829b3e0 Update libtool* packages to account for libltdl split, and simplify by
moving some common things into Makefile.common.
2004-10-14 19:04:56 +00:00
tv
0f9c7e6d40 Speed up subdir configure with -C. 2004-10-14 16:15:26 +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
skrll
fa3ac22e78 Remove myself as maintainer of libtool. 2004-05-25 18:59:06 +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
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
177dd49eff bump PKGREVISION for my change to patch-aa last night. (pointed out
by grant)
2004-03-12 16:00:16 +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
2676413ace Pull in the fix for the symlink vulnerability. 2004-02-18 07:55:51 +00:00
jlam
b259a0a438 CONFIG_{GUESS,SUB}_OVERRIDE are now relative to ${WRKSRC} and will
automatically substitute for any config.{guess,sub} files found up to a
directory depth of 2.
2004-02-14 15:29:15 +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
seb
69e4af1459 Fix endless loop in pathname canonicalization in install mode.
As seen in PR pkg/24333.

Fix from skrll@.

Bump PKGREVISION.
2004-02-07 09:25:39 +00:00
jlam
9346ac187a Reorder some lines so they appear before bsd.prefs.mk and set
USE_BUILDLINK3 to "yes".  This should fix installation of libtool-base
using gcc3 from pkgsrc.
2004-02-05 21:30:00 +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
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
jlam
94985359bd "bl3ify": [v] to convert a package to use the buildlink3 framework. 2004-01-05 11:12:46 +00:00
cube
3c4b634292 Import a patch for ltdl.c (an old one, from 2001, see rev. 1.134.2.1 of
that filein GNU libtool repository) to fix bad assumptions on memory
allocation.  Bump PKGREVISION.
2004-01-05 09:50:47 +00:00
reed
115303b007 Added better support for BSD/OS for libtool. libtool has never
officially been ported to BSD/OS 5.  So this adds that support.
Added three more patches and changed two.  Based on some ideas from
Steven M. Schultz and discussed with skrll@NetBSD.
Bump PKGREVISION.
2003-12-11 22:15:30 +00:00
reed
98398140cc Fix bsdi4 (BSD/OS) support in ltconfig (via patch-aa).
(Set version_type=sunos for bsdi in libtool.)
Regenerate distinfo for patch-aa.
Bump PKGREVISION (especially so BSD/OS support will work
using _OPSYS_LIBTOOL_REQD.)
This is for my PR #23058.
2003-12-03 21:18:19 +00:00
skrll
dd8c154cc3 "Someone has to" 2003-11-02 19:19:30 +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
danw
b1b23e1240 Update Darwin patches to match libtool 1.4.3 2003-09-25 02:09:03 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
874df2b597 s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))
2003-06-23 14:23:13 +00:00
jschauma
4175e46380 PKGREVISION++ after last fix for irix. 2003-03-28 15:05:01 +00:00
skrll
5d1a5a5fda Don't use -nodefaultlibs when linking C libraries - this was for old broken
ELF toolchains. glib2 on -current will now link correctly as -pthread will
have an effect.

PKGREVISION++
2003-01-31 20:33:51 +00:00
skrll
3690edb715 Whitespace. 2003-01-31 20:29:09 +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
jlam
1abdd450fe Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-base
package.  shlibtool will not build static libraries.  Add handling in
bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to
LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with
a symlink to shlibtool, and teach buildlink2 about shlibtool.  Bump
PKGREVISION of devel/libtool* packages to 11.
2003-01-10 08:44:18 +00:00
jlam
2ec487e5ac Convert libtool packages to use buildlink2. 2002-12-23 14:49:54 +00:00
grant
6220163ace fix shared library names on FreeBSD to be like NetBSD and Solaris in
preparation for FreeBSD pkgsrc support.

bump PKGREVISION.

ok'd by nick.
2002-11-17 11:55:01 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
schmonz
84ab2d3d0a Make libtool work on Darwin, based on the patches in pkg/16104 by
Jeff Putsch <jdputsch@attbi.com>. Also repair a typo that had prevented
'-fno-common' from being passed along (found and fixed by skrll).

Bump PKGREVISION.

Approved by skrll.
2002-05-21 14:03:36 +00:00