Commit graph

88 commits

Author SHA1 Message Date
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
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
grant
9955d0c640 use /bin/sh on Solaris, as libtool can cause ksh to dump core under
certain circumstances, observed devel/gettext-tools.

fixes PR pkg/32886 from Lloyd Parkes.

bump PKGREVISION.
2006-04-01 11:21:42 +00:00
jlam
1ec59ed085 USE_PKGINSTALL isn't needed here to make these packagse use the
pkginstall framework.  In the case of libtool-base, avoid using
FILES_SUBST_SED where it isn't needed.
2006-03-14 20:43:23 +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
tv
d5710ea3ff libtool-base doesn't use a cache file at all as it is. 2005-07-13 15:58:44 +00:00
jschauma
2e6082f402 On IRIX, don't use a cache-file, since configure bails out after
trying to reparse the cache.  Ugh.
2005-07-13 15:28:49 +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
9f94b112f0 Remove the old tools framework and references to _USE_NEW_TOOLS. 2005-05-22 19:11:12 +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
25f294fb28 PKGREVISION bump missed in previous. 2005-05-20 16:44:48 +00:00
jlam
85d4e09001 libtool needs to know where echo is or else it searches the PATH for
it.  This value is embedded into the libtool script.  This was okay
on NetBSD, but was breaking on Solaris.  We now pass it the path to
the real echo via CONFIGURE_ENV, which on Solaris is a more featureful
echo.  Problem noted by Mark Davies in private mail.
2005-05-20 15:59:50 +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
178fd44721 Add a missing install-sh entry to PLIST; bump PKGREVISION.
Omission noted by Joerg Sonnenberger <joerg@britannica.bec.de>.
2005-05-10 16:49:22 +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
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