Commit graph

103 commits

Author SHA1 Message Date
bsiegert
1fd6784a99 Add MirBSD support to libtool. The patches are based on the ones from MirPorts,
which uses libtool-1.5.

Reviewed by Alistair G Crooks.
2011-05-14 16:49:45 +00:00
adam
47f9f6e2f3 Removed duplicate line 2010-12-26 10:46:27 +00:00
asau
dfc6889736 "fortran" -> "fortran77" except where it is clear that it isn't F77.
"fortran" is alias of "fortran77" for now, but it will change later.
2010-07-30 10:36:22 +00:00
markd
3944582c79 Fix support of g95 as the fortran on NetBSD.
patches approved by Joerg.  Bump libtool-base PKGREVISION.
2010-03-17 10:59:44 +00:00
jmmv
bd1a430d87 Fix libtool under OS X: require a fixed version of f2c, and thus bump
PKGREVISION of libtool to 3 and require it as a dependency.
2009-12-20 12:32:55 +00:00
joerg
b09096955c Add some band aid for the not-yet-fully-analyzed issue with sh on
NetBSD. Install a prestine install.sh to not leak our modifications
into packages. Bump revision.
2009-12-18 22:11:10 +00:00
joerg
9b2c160462 Fix a macro name so that the correct C++ linkage on NetBSD and QNX is
used. Bump revision of libtool-base.
2009-12-16 15:27:33 +00:00
joerg
416f555206 Update to libtool-2.2.6b. This switches libtool to the new main branch.
Changes are many, important for pkgsrc:
- much higher speed (up to 30% faster for the overall build of libX11)
- less magic for detection of the tag

The pkgsrc integration of f2c has been changed to be more sane.
libtool itself now depends on the f2c frontend to use proper
auto-configuration and only fakes up the library. This part is
encapsulated in mk/compiler/f2c.mk.
2009-12-15 17:35:36 +00:00
markd
d52041cb82 Add support for g95 on NetBSD to libtool.
Bump PKGREVISION of libtool-base.

OKed by jeorg.
2009-07-08 21:01:43 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
e769842062 PR 40405: Change soname logic for DragonFly to follow the normal major
only scheme. Properly distinguish FreeBSD and DragonFly case to prevent
further confusion. Differs from the patch in the PR as it forces the
correct branch to be used.

Bump revision of libtool-base. Claim ownership.
2009-03-23 23:03:58 +00:00
wiz
f6f6e8a2b4 Reset PKGREVISION after update to 1.5.26. 2008-11-19 07:50:55 +00:00
chuck
86ddd73c1c update to libtool 1.5.26 using libtool/patches/manual.README procedure:
fixes linking problems on darwin (problems with nmedit, see
http://pogma.com/2008/02/13/nmedit-libtool-exported-symbols/ )
2008-11-19 01:26:52 +00:00
joerg
a03b03e965 Don't force /bin/sh on Solaris, we want the bootstrap shell.
Bump revision. From Dieter Baron.
2008-07-11 11:27:24 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +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
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