Commit graph

67 commits

Author SHA1 Message Date
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
ec50accbc7 nb10: Work around PR pkg/20499 by disabling locking altogether on IRIX.
This won't hurt gcc-based builds, so it does not need to be compiler type
conditional.
2005-03-18 15:06:10 +00:00
grant
8bb85c2cd0 add a comment describing the options used on AIX. 2005-03-05 07:43:05 +00:00
garbled
3f735beba0 Fix for libtool locking on AIX. Found by grant, tested by me on aix 4.3.3 2005-03-03 22:30:15 +00:00
garbled
93fa32fe68 Make libtool work better on AIX. There is still one problem remaining,
and that is that it sets needs_locking for AIX, and then locks
indefinately when compiling.  Unsure how to fix that.
2005-03-03 20:33:44 +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
jschauma
6c126d3490 Under IRIX, configure creates a corrupted cache file, so re-parsing that
file fails in the subdir.  Hence, set --cache-file=/dev/null for IRIX.
2005-01-19 16:11:26 +00:00
tv
7123b4bd72 Refer to patch-a[bd] rather than patch-a*. 2005-01-01 20:53:19 +00:00
tv
d97165a797 Thinko fix: README.manual -> manual.README 2004-12-22 02:46:03 +00:00
tv
4f5cb0be15 Add heads-up comment above PKGREVISION pointing to the manual-* diffs
which must be updated for any platform changes, lest the changes be lost
the next time libtool is updated.
2004-12-22 02:44:02 +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
jlam
36d37026bd dlopen.buildlink3.mk will automatically include dlcompat/buildlink3.mk
only on Darwin, so remove OPSYS check in dlcompat/buildlink3.mk and
make packages include dlopen.buildlink3.mk instead.
2004-11-26 09:39:30 +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
2b6574601b Re-add dlcompat dependency lost in libltdl overhaul, but since it's now only
needed at build time for libtool-base, mark BUILDLINK_DEPMETHOD as such.
2004-10-14 19:07:46 +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
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
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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
schmonz
2b261a6ce2 Remove the ${OPSYS} test around inclusion of dlcompat/buildlink3.mk,
as that test is now done by the buildlink3 file itself.
2004-07-18 09:38:26 +00:00
tv
1c110ab746 sysutils/c++rt0 doesn't exist any longer, as pkgsrc has officially dropped
support for NetBSD/sparc 1.4.
2004-06-17 03:49:15 +00:00
grant
f5df441bf6 fix an obvious botch-up:
s/5~CONFIGURE_ARGS/CONFIGURE_ARGS/
2004-06-14 00:26:25 +00:00
jschauma
07161a5d24 Tell libtool's configure to use 'nm -B' under IRIX.
This closes PR pkg/25712.
2004-06-03 23:31:53 +00:00
grant
efda0207ab bump PKGREVISION for OpenBSD shlib name fix. 2004-05-25 15:17:26 +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
wiz
cbc980b30b Revert:
revision 1.29
date: 2004/02/18 19:13:30;  author: jlam;  state: Exp;  lines: +23 -23
Configure and build shlibtool after configuring and building libtool,
resepectively.  This makes the build output look more logically grouped
into phases.
to make this build again on 1.5.x systems.
Addresses PR 24588.
2004-02-29 10:28:24 +00:00
grant
86ce115d67 simplify the test for Darwin a little. 2004-02-22 12:22:47 +00:00
markd
3d200c079f On Solaris the configure script doesn't seem to be working out that "nm"
needs "-p" for BSD compatible output so tell it explicitly.
2004-02-22 12:12:38 +00:00
jlam
5422c0ba90 Configure and build shlibtool after configuring and building libtool,
resepectively.  This makes the build output look more logically grouped
into phases.
2004-02-18 19:13:30 +00:00
jlam
4547c184e2 We no longer need to set CONFIG_STATUS_OVERRIDE to an empty value as
bsd.pkg.mk no longer overrides the ability of config.status to generate
new files.
2004-02-16 20:24:25 +00:00
jlam
9a49cfff4e libtool-base actually uses config.status during the build to generate
its files.
2004-02-14 16:35:33 +00:00
jlam
1751fa0704 Add SED to the configure envirionment as well, since GNU configure scripts
seem to be stupid and don't initialize SED properly from lt_cv_path_SED.
2004-02-13 00:46:00 +00:00
jlam
18d2d556fc Always use ${SED} instead of having the configure script try to figure out
the path to it.
2004-02-09 06:08:02 +00:00
jlam
fe2ee8a9f9 Set USE_LANGUAGES to "c c++ fortran" since we want to use the same versions
of the the compiler for all three tools, especially for gcc.
2004-02-09 01:04:45 +00:00
jlam
e412e30869 Don't set LD to ${BUILDLINK_DIR}/bin/ld in the libtool script. 2004-02-08 02:08:21 +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
jlam
0480cb4f02 Require both the C and C++ compilers since we usually want libtool to find
the same set.
2004-02-04 02:31:40 +00:00
jlam
e4d93e744d Use dlcompat/buildlink3.mk on Darwin. 2004-01-07 21:18:12 +00:00
jlam
94985359bd "bl3ify": [v] to convert a package to use the buildlink3 framework. 2004-01-05 11:12:46 +00:00
jmmv
6d9ccf016f Specify the category when including other files and when depending on other
packages.  From PR pkg/21864 by ccatrian at eml.cc.
2003-09-18 16:25:08 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
agc
f2d654a834 Now that we have ${PREFIX}/share/aclocal in the mdist files, don't try to
delete the directory via an @unexec directive.
2003-01-25 15:53:38 +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
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00