Commit graph

121 commits

Author SHA1 Message Date
joerg
59b8206d3c When relinking with DESTDIR, also look into DESTDIR for the desired
object. Bump revision.
2014-12-02 10:56:24 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
jperkin
c3ec177297 Ensure that all BUILDLINK_DIR references are removed, not just the first.
Bump PKGREVISION for this change as well as the recent libtool-fortran fix.
2014-09-01 12:40:48 +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
3026293d96 revbump libtool-base after libtool patches 2014-05-10 13:35:59 +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
jperkin
6792284e7a Remove special handling of -v in the wrappers.
This was originally introduced to work around some behaviour in the
libtool build, however these days it is actively harmful for a number of
packages, where removing additional arguments when -v is present on the
command line can break ABI detection (notably in CMake packages).

Instead, filter out any references to BUILDLINK_DIR from the libtool
scripts, as that should do the same job.

Retain the ability to run the 'scan' wrapper script, as it can be useful
in certain cases, and is required to support the scan-libtool script
anyway.
2014-02-26 10:40:46 +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
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
tron
5429f5838b Bump package revision. This package is completely broken under Mac OS X
without a fix committed at 2013-05-13 by Adam Ciarcinski.
2013-05-19 14:52:19 +00:00
joerg
0fa1c44157 Support file for libtool-fortran. 2013-05-09 13:54:11 +00:00
joerg
0e132f31a2 Split Fortran support from devel/libtool-base into a separate package
devel/libtool-fortran. If USE_LIBTOOL is present and Fortran is in
USE_LANGUAGES, include the new package.
2013-05-09 13:53:47 +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
jperkin
f861c1e3b6 Ensure CFLAGS is set correctly on Solaris for 32-bit too. Fixes problems
when a compiler is used which builds 64-bit by default.  Bump PKGREVISION.
2012-07-02 16:07:22 +00:00
fhajny
fc5cba4786 Make sure to pass CFLAGS=-m64 on SunOS when ABI=64, so that the resulting
libtool script contains proper 64bit flavors of the stdlib objects. Fixes
problem on SunOS when linking C++ objects. Bump PKGREVISION.
2012-02-07 22:11:40 +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
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