Commit graph

85 commits

Author SHA1 Message Date
tnn
a2c504cbe8 be compatible with "nm -p" on Solaris 11.3
It now differentiates between bss and common symbols, and lists variables
in the latter section with symbol type "C", like GNU nm(1) does.
So add "C" to the list of letters that the global_symbol_pipe script
accepts on Solaris.
Bump PKGREVISION of libtool-base.
2016-03-10 12:43:48 +00:00
richard
5dc326bb4e revert libtool 2014-09-10 10:44:58 +00:00
richard
cfd0295a64 adding devel/py-hgnested
hgnested is a Mercurial extension to work with nested repositories.

It was inspired by the forest extension.

The extension allows to apply common Mercurial commands to all the nested
repositories at once like pull, push etc. It also allows to fetch a complete
tree of repositories through ssh or http.

To enable the "hgnested" extension, create an entry for it in your hgrc, like
this:

    [extensions]
    hgnested =

See `hg help hgnested` for the complete list of commands.

For more information please visit the following website:

	http://code.google.com/p/hgnested/
2014-09-10 10:14:07 +00:00
jperkin
8863fb9bb1 GCC 4.7's gfortran on SunOS generates verbose output which includes spaces
in-between "-l" and the library name.  This confuses libtool which parses
the compiler output, and results in trying to pass arguments such as
"-l-lgfortran" and failing.

In addition there are multiple BUILDLINK_DIR references, but only the first
is stripped, resulting in "-L-L/path".

Fix both these issues and bump PKGREVISION of libtool-fortran.
2014-09-01 12:39:15 +00:00
joerg
309a11f7e7 Don't use -nostdlib for C++ with GCC on Solaris. Bump revision of
libtool-base.
2014-06-15 14:42:05 +00:00
joerg
55accb865a Revert. Not approved and not correct. 2014-05-10 15:32:08 +00:00
richard
9d33d564f6 Permit libtool to generate -fstack-protector* on all platforms in --mode=link
while suppressing -nostdlib (for the moment on SunOS g++ platforms only)
allowing it to actually work with g++... gcc was never affected by -nostdlib.
2014-05-10 13:29:41 +00:00
joerg
3f7970f604 Don't try to extract GCC's linker line. It includes -lgcc, but not
-lgcc_s for starters. It also confuses the static-only library search in
libtool itself. Bump revision.

Based on patch from jperkin@.
2014-03-08 19:57:25 +00:00
joerg
54fe5ef264 PR 48081: Explicitly disable Fortran in libtool-base, otherwise it will
incorrectly handle the default wrapper scripts on Cygwin.

libtool bug 14579: Disable ar(1) locking on OSX. It creates more harm
than good.

Bump libtool-base and libtool-fortran.
2013-08-27 15:50:23 +00:00
bsiegert
b8633b5633 Restore shared library support for MirBSD. Some chunks of the MirBSD diff
were lost in the last libtool update. Bump PKGREVISION of libtool-base.

ok joerg@ (maintainer)
2013-07-01 15:59:06 +00:00
adam
c632d5ab2d In configure: changed _lt_dar_can_shared=$GCC to _lt_dar_can_shared=yes, so libtool can create shared libraries on Darwin/Mac OS X, when f77 is not present. 2013-05-13 12:53:42 +00:00
joerg
bc800378a2 Update to libtool-2.4.2:
- Initial support for Go.
- On Mac OS X, try to open .dylib as well as .so in lt_dlopenext.
- sysroot support
- man pages for libtool and libtoolize
- various smaller bug fixes

pkgsrc side: remove support for pre-ELF NetBSD
2013-04-12 13:44:07 +00:00
bsiegert
e84356da6f Add a special case for f77 on MirBSD. This is what the wrapper scripts call
the f2c frontend. It is not recognized as GCC even though there is a gcc
underneath. Thus, use "-Wl," to introduce linker options.

This unbreaks the build of shared libraries written in Fortran on MirBSD
(exotic combination, yes I know) such as blas.

Bump PKGREVISION.
2012-07-26 12:04:03 +00:00
joerg
25ebe05c64 Revert. Doesn't follow the patch rules for libtool, wasn't discussed
with the OWNER.
2011-09-16 15:08:26 +00:00
hans
d65e84489c Don't add -z text unconditionally to ld on SunOS. This make
-mimpure-text work again, which is needed for several packages that use
assembly optimizations.
2011-09-14 16:35:51 +00:00
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
obache
1f93c8cd46 Backport Haiku support, taken from upstream.
(I'm using this patch over 10 months).
2011-03-23 15:46:36 +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
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
e04a871f39 Fix another set of broken macro names. Regen patches. 2009-12-17 00:53:52 +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
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
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
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
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
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
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
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
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
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
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
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
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
grant
1de0489d6f fix shared library names on OpenBSD after upgrade to libtool 1.5.x.
fixes PR pkg/25527 from Adrian Portelli.
2004-05-25 15:17:07 +00:00
danw
4c76be3f7c fix up Darwin patches 2004-04-23 01:17:25 +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
fb2161906d Update Interix support once more (deliberately no PKGREVISION bump);
add a random image base address for shlibs that's more likely to be "out
of the way" from the rest of the OS and application.
2004-04-21 19:24:49 +00:00