Commit graph

204 commits

Author SHA1 Message Date
martti
9afb20a137 Added commented-out LICENSE=something. 2007-11-11 11:35:48 +00:00
joerg
06666e1f2c Fix patchsums. 2007-10-07 13:59:43 +00:00
joerg
0e3dacc899 Restore basename override to get the name of the real compiler for the
decision making in libtool. This was lost during the update and broke
the build of shared C++ libraries with SunPro on Solaris. Bump revision
of libtool-base.

Noticed by salo and dmcmahill, tested by dmcmahill.
2007-10-07 12:31:59 +00:00
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
tv
360cb24fd2 Remove warning about libtool using an unreleased version of autoconf. The
released version of autoconf now in pkgsrc (2.61) is new enough to work.
2006-12-15 19:27:24 +00:00
dmcmahill
c69300e480 In the libtool configure script, the basename of the compiler is used
to make decisions about which compiler is being used (gcc, SunPro, etc).
To make this function "correctly" in the presence of the compiler wrapper
scripts, we need to extract the actual compiler command from the wrapper
frame work.  So adapt the section in the configure script which already
attempts to deal with some other compiler wrappers to deal with the pkgsrc
wrappers.

This should address PR pkg/33467 and PR pkg/34581.

Bump PKGREVISION.
2006-12-15 11:28:51 +00:00
joerg
f5d0c70da3 DESTDIR support. 2006-11-01 09:01:56 +00:00
jschauma
b23953604e unbreak libtool on irix again (somehow this was lost a while ago) 2006-08-23 19:49:12 +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
0c02ccfe23 Clarify the fact that libtool.m4 has no automatic patch, and the reasons
why there must not be such a patch.
2006-03-02 18:50:17 +00:00
joerg
8cbe3ad7dd Comment out a fragment of ltmain.sh, which breaks the installation
of postgresql80-client. According to Ralf Wildenhues from libtool,
this fragment is just broken and the pre-1.5.21 was effectively a NOP.
Bump libtool-base revision.
2006-02-28 23:34:46 +00:00
tv
8811d4b2aa Fix regression on DragonFly where two config variables were no longer being
set (thinko by person implementing the change between 1.5.18 and 1.5.22).
Bump PKGREVISION.
2006-02-06 18:57:30 +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
tv
e2af5cd013 libtool-base-1.5.18nb6:
Fix major problem brought to the surface by buildlink3 on Interix.  For C++
or F77 libraries only, the soname did not always make it into the final
binary, resulting in runtime link failures in some cases and runtime linking
with a missing major version in others.

This is unfortunately a flag day for Interix + pkgsrc.  Identifying all the
PKGREVISIONs normally requiring a bump is a little too unwieldy.  However,
existing binaries not experiencing the runtime link failure will continue
to run, but will be linking against the unversioned ".so" at runtime until
the binaries have been rebuilt.

While here, fix a couple wrong assumptions in the libtool config for
Interix.  shlibvar_overrides_runpath should have been "no", and
hardcode_direct should have been "yes".
2005-11-09 18:05:56 +00:00
tv
221c7d561f Add change from MirOS that resets $versuffix2 to empty if -avoid-version is used;
makes -avoid-version work properly on platforms using $versuffix2 (e.g., OpenBSD,
FreeBSD, DragonFly).  Bump PKGREVISION (and will bump LIBTOOL_REQD shortly).

MirOS change by Benny Siegert <bsiegert@mirbsd.org>.
Noted in private mail by Thorsten Glaser <tg@66h.42h.de>.
2005-09-21 20:31:21 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
tv
20fca53c8c Another Interix fix; $soname -> $soname.exp in two places where it was not
fixed before.
2005-07-03 19:42:14 +00:00
tv
58a76526cb libtool-base 1.5.18nb4: Fix a really nasty bug on Interix;
hardcode_libdir_flag_spec used -h rather than the correct -rpath.

Fix provided in private mail by Thorsten Glaser.
2005-07-03 19:01:50 +00:00
tv
ff22b74536 nb3: Add OS-specific fix for -pthread on DragonFly, based on work by
Joerg Sonnenberger <joerg@britannica.bec.de>.
2005-06-05 18:04:37 +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
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +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
b3913b078b Merge DragonFly changes back to the .m4 files as documented in
devel/libtool/patches/manual.README.  Changes:

* don't invent another $version_type when you're just duplicating one
  already in existence (freebsd-elf)

* mark chosen $version_type as a very poor choice; this should be fixed
  to use the libtool-team-supported "linux" type in the future, but will
  cause a binpkg flag day (for DragonFly only) when that happens

PKGREVISION *not* bumped as this is a non-event for all platforms.
2005-01-18 18:51:15 +00:00
tv
a751eafa86 Tweak doc -- initial prep step should be "make patch" so that we get
.orig files where they're needed.
2005-01-18 18:44:14 +00:00
grant
3fe88ca7b0 add DragonFly support from patch sent to libtool-patches:
http://lists.gnu.org/archive/html/libtool-patches/2004-12/msg00188.html

tested with gcc2 and gcc3 in-tree compilers.

bump PKGREVISION.
2004-12-21 13:50:23 +00:00
grant
76c3898cdf in the command run when -export-symbols is used on Darwin with xlc,
ensure there is no whitespace on the command line when passing
-install_name to the linker, as this breaks the build.

this fixes the build of audio/libaudiofile and other packages using
-export-symbols on Darwin with xlc.

bump PKGREVISION.
2004-12-18 17:42:24 +00:00
jlam
88648515a2 Rewrite func_infer_tag in the libtool script so that it's easier to
specify (hardcoded) compilers from which we can infer the correct tag
(CC, CXX, F77).  Use the following patterns to match compilers to
tags:

	CC:	*cc *xlc
	CXX:	*++ *CC
	F77:	*77 *fort

Bump the PKGREVISION to 1.5.10nb7 since we now infer the F77 tag from
likely Fortran compilers.  Also require at least this version of
libtool when building packages that set USE_FORTRAN.  This should fix
PR pkg/28661.
2004-12-17 16:24:22 +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
0bd444ae35 Fix C++ linkage on modern NetBSD ELF by using a more standard link command.
Based on jlam's patch to tech-pkg.
Bump PKGREVISION to 1.5.0nb6.
2004-11-11 22:29:03 +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
c4154ee981 The bl3 is now in devel/libltdl. 2004-10-15 11:16:00 +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
9e2ecafeae Another Interix fubar workaround: C++ libs weren't linking in libtool
because Interix installs completely hosed .la files for libstdc++ and
libsupc++.  Make libtool instead trust g++ to DTRT.
2004-10-12 04:41:39 +00:00
tv
88bf80861f Quick typo fix for previous which made some libraries not build at all
on Interix.
2004-10-11 17:19:53 +00:00
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
tv
680cfe9073 Tweak doc to say "make extract" rather than "make configure". 2004-09-27 14:40:58 +00:00
tron
cf1b31001f Use "nb[0-9]*" instead of "nb[0-9]" to accept revisions beyond 9. 2004-05-26 13:51:07 +00:00
tron
28b88cc657 Fix broken dependence patterns introduced in revision 1.36. 2004-05-26 13:49:29 +00:00