notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: Mk/Uses/libtool.mk
SVNWeb

Number of commits found: 35

Sun, 24 Apr 2022
[ 10:00 Tobias C. Berner (tcberner) search for other commits by this committer ]    commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  aa25396  (Only the first 10 of 118 ports in this commit are shown above. View all ports for this commit)
framework: cleanup conditional-indentations in Mk/

Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
Tue, 6 Apr 2021
[ 14:27 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Tue, 26 Dec 2017
[ 17:20 emaste search for other commits by this committer ] Original commit   Revision:457295
libtool.mk: pass through LDFLAGS -fuse-ld=*

Some ports depend on permissive or broken behaviour from the GNU BFD
linker, ld.bfd.  Clang and GCC support a -fuse-ld= flag to choose a
specific linker, and as we migrate to installing lld as the base system
/usr/bin/ld we'll want to make use of -fuse-ld=bfd to use bfd for ports
that fail to link, or fail to run when linked with lld.

An upstream libtool change[1] from Feb 2016 supports passing through
-fuse-ld=, but it has not yet made it into a release.  Patch an
equivalent change into ltmain.sh via Mk/Uses/libtool.mk.

Original proposal just patched ltmain.sh in devel/libtool.  That would
address ports that run libtoolize via autoreconf, including lang/mono
which is one of the ports that fails to link with lld and responsible
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sat, 23 Dec 2017
[ 13:58 tijl search for other commits by this committer ] Original commit   Revision:457052
Take maintainership from autotools@.  That group is no longer active.
Sun, 27 Mar 2016
[ 01:23 bapt search for other commits by this committer ] Original commit   Revision:411970 (Only the first 10 of 85 ports in this commit are shown above. View all ports for this commit)
Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
Thu, 15 Oct 2015
[ 07:36 bapt search for other commits by this committer ] Original commit   Revision:399326 (Only the first 10 of 67 ports in this commit are shown above. View all ports for this commit)
Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched

This gives more time for tools to get updated, available in packages etc before
bothering users
Wed, 14 Oct 2015
[ 16:49 bapt search for other commits by this committer ] Original commit   Revision:399278 (Only the first 10 of 67 ports in this commit are shown above. View all ports for this commit)
Drop the necessity to add ${PORTSDIR} to dependency line

Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
Mon, 17 Aug 2015
[ 13:31 mat search for other commits by this committer ] Original commit   Revision:394503 (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
Rewrite the target ordering code.

The targets now have priority assigned to them, and, when the dependency
ordering magic is done at the end of bsd.port.mk, they are sorted
according to their priority.

This allows USES to add targets easily and have them run whenever they
want without touching bsd.port.mk.

To add a target that runs just before post-configure run, do:

_USES_configure+=  695:my-post-configure
my-post-configure:
	do something
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sun, 2 Aug 2015
[ 15:03 tijl search for other commits by this committer ] Original commit   Revision:393429 (Only the first 10 of 234 ports in this commit are shown above. View all ports for this commit)
By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Mon, 8 Jun 2015
[ 05:59 antoine search for other commits by this committer ] Original commit   Revision:388831 (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
Make ports using libtool treat elftoolchain's strip the same as GNU strip
Any strip on any FreeBSD version should be able to handle stripping requested
by libtool

PR:		198611
Reviewed by:	emaste
Exp-run:	self
Mon, 16 Feb 2015
[ 07:56 jbeich search for other commits by this committer ] Original commit   Revision:379071
Don't use the default backup suffix

Rename backup file in order to avoid conflict with default suffix as
used by REINPLACE_CMD in post-patch. This facilitates reviewing
changes done by each step after the build.

PR:		197502
Exp-run by:	antoine
Approved by:	autotools (tijl, maintainer)
Approved by:	portmgr (antoine)
Approved by:	mentors (implicit)
Fri, 23 Jan 2015
[ 18:54 tijl search for other commits by this committer ] Original commit   Revision:377757 (Only the first 10 of 24 ports in this commit are shown above. View all ports for this commit)
- Update devel/automake to 1.15
- Update devel/gettext to 0.19.4
- Update devel/libtool and devel/libltdl to 2.4.5
- This version of libtool has been fixed to pass -fstack-protector to the
  compiler during linking.  Add the same fix to USES=libtool.  This should
  improve SSP support on FreeBSD/i386 8 and 9.
- databases/libmemcached, security/sssd: patch configure.ac so
  AC_CONFIG_AUX_DIR appears earlier.
  For databases/libmemcached changing configure.ac causes manpages to be
  regenerated which requires extra dependencies so patch a makefile to
  prevent that.
- devel/xfce4-dev-tools: only depend on recent versions of autoconf and
  automake

PR:		196938
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Mon, 8 Dec 2014
[ 16:48 tijl search for other commits by this committer ] Original commit   Revision:374303 (Only the first 10 of 920 ports in this commit are shown above. View all ports for this commit)
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sun, 5 Oct 2014
[ 18:01 tijl search for other commits by this committer ] Original commit   Revision:370099 (Only the first 10 of 50 ports in this commit are shown above. View all ports for this commit)
- Update devel/libtool and devel/libltdl to version 2.4.2.418
- Patch libtool so it uses the same library version specification as on
  Darwin, Linux and other systems.  Given the version current:revision:age
  a library will be given the extension .so.major.age.revision with major
  equal to current-age.  Before libtool would use .so.current on FreeBSD.
- Patch libtoolize to remove two cases of umask 0 that caused libltdl
  files to be copied world writable (--ltdl option)
- Let USES=libtool patch this new version correctly
- Adjust all ports with USES=libtool:build and bump PORTREVISION on their
  dependent ports if a library version changed

PR:		194068
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Sun, 28 Sep 2014
[ 16:36 tijl search for other commits by this committer ] Original commit   Revision:369465 (Only the first 10 of 53 ports in this commit are shown above. View all ports for this commit)
Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Mon, 15 Sep 2014
[ 18:23 tijl search for other commits by this committer ] Original commit   Revision:368281
Turn the installation of *.la files, without some form of USES=libtool in
the port Makefile, into a stage-qa error.  All ports that would trigger
this error have been converted.  Many thanks to all people involved in
this, especially Dmitry Marakasov (amdmi3) who handled most ports.

At this moment over 2200 ports have USES=libtool and over 20000 library
dependencies between packages have been removed.

This also marks the point where :keepla is no longer special.  It is now
only needed if a port uses *.la files at run-time.

QA-run by:	antoine
Approved by:	portmgr (antoine)
Sun, 14 Sep 2014
[ 18:41 tijl search for other commits by this committer ] Original commit   Revision:368217
Tell realpath to stay quiet if it cannot resolve a link

Approved by:	portmgr (bdrewery)
Sat, 13 Sep 2014
[ 20:25 bdrewery search for other commits by this committer ] Original commit   Revision:368136
Allow this to work on DragonFly which does not have the -f param for readlink(1)

Tested by:	marino
With hat:	portmgr
Mon, 8 Sep 2014
[ 12:21 tijl search for other commits by this committer ] Original commit   Revision:367620
Let USES=libtool also delete links to .la files (and links to links to...)

Approved by:	portmgr (antoine)
Fri, 5 Sep 2014
[ 15:31 tijl search for other commits by this committer ] Original commit   Revision:367345
After patching configure restore the original modification time.  This
avoids running makefile targets that depend on configure such as the PDF
documentation in textproc/flex.

Reported by:	hrs
Approved by:	portmgr (bapt)
Sun, 10 Aug 2014
[ 13:41 tijl search for other commits by this committer ] Original commit   Revision:364538
Add support for USES=libtool:build.  It adds a build dependency on
devel/libtool and can be used when a port does not generate its own libtool
script but relies on the system to provide one.

Approved by:	portmgr (antoine)
Wed, 23 Jul 2014
[ 10:28 tijl search for other commits by this committer ] Original commit   Revision:362656 (Only the first 10 of 29 ports in this commit are shown above. View all ports for this commit)
Remove two libtool fixes from Mk/Uses/libtool.mk.  They don't always work
when an older version of a package is installed.  This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries.  For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries.  Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.

With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.

This partially reverts r358784.

PR:		191611
Approved by:	portmgr (bapt)
Sun, 22 Jun 2014
[ 10:44 tijl search for other commits by this committer ] Original commit   Revision:358784 (Only the first 10 of 37 ports in this commit are shown above. View all ports for this commit)
Add 4 new sed commands to USES=libtool.  The first two apply some of the
changes that Debian made to their libtool.  The first command applies to
libtool versions 1.4 and up.  The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down.  It applies to 2.x.  Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).

The third and fourth command fix relinking.  During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory.  This allows running an
executable that links to libA from within the work directory.  The relink
removes this extra runpath.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Wed, 23 Apr 2014
[ 13:25 tijl search for other commits by this committer ] Original commit   Revision:351936 (Only the first 10 of 462 ports in this commit are shown above. View all ports for this commit)
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sat, 15 Mar 2014
[ 10:31 gerald search for other commits by this committer ] Original commit   Revision:348308 (Only the first 10 of 47 ports in this commit are shown above. View all ports for this commit)
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Mon, 3 Mar 2014
[ 14:10 tijl search for other commits by this committer ] Original commit   Revision:346901
Further restrict the dragonfly RE so it only matches freebsd* as the first
word on a line.

PR:		ports/187208
Sun, 2 Mar 2014
[ 13:14 tijl search for other commits by this committer ] Original commit   Revision:346763
In libtool.mk, let the regexp for DragonFly BSD support match both
"freebsd*)" and "freebsd* ", and add "dragonfly*" only if it isn't there
already.

Approved by:	bapt
Thu, 27 Feb 2014
[ 09:51 tijl search for other commits by this committer ] Original commit   Revision:346312
- Some ports ship with libtool 1.5.x + "anygcc" patch.  This modified
  version calls "gcc" in two places.  Replace that with $CC.
- r346193 added -B${LOCALBASE}/bin in Uses/fortran.mk, just like
  compiler.mk, but libtool doesn't recognise this flag and discards it.
  Patch ltmain.sh so it passes the flag to the linker unmodified.
  This only works on libtool 2.x for now, but that's good enough to fix
  the PRs below and a linker error in math/octave on FreeBSD/i386 8.x.
  (When those ports set USES=libtool.)

PR:		ports/186946, ports/187000
Approved by:	bapt
Fri, 21 Feb 2014
[ 21:43 bdrewery search for other commits by this committer ] Original commit   Revision:345551
Revert r345514 for now, it causes libraries to be built without .so
[ 17:23 marino search for other commits by this committer ] Original commit   Revision:345519
Mk/Uses/libtool.mk: Add DragonFly support to USES+= libtool

Approved by:	portmgr (bapt)
[ 16:47 bapt search for other commits by this committer ] Original commit   Revision:345514
libtool 1.4.2a was defining the shared extension as shrext_cmds, rename it
shared_ext
like in newer libtool so the rest of USES=iconv magic just works
Fri, 14 Feb 2014
[ 22:29 tijl search for other commits by this committer ] Original commit   Revision:344318
- Also set link_all_deplibs_(CXX|F77|FC)=no.
- In libtool 1.3 set deplibs_check_method=pass_all like it is in later
  versions.  This avoids checking every library with file(1) to see if
  it's really a library and avoids some incorrect uses of expr(1)
  ("expr $var" instead of "expr -- $var" where $var can start with -l).
  The parsing of file(1) output is also tested during configure on
  /usr/lib/libc.so.* which doesn't exist so configure printed a big (but
  harmless) warning.

Approved by:	bapt
Sun, 9 Feb 2014
[ 22:00 tijl search for other commits by this committer ] Original commit   Revision:343547
- Support libtool 1.3 which has an ltconfig script.
- Support -shrext command line option.  (Used in audio/pd.)
Tue, 28 Jan 2014
[ 21:31 bapt search for other commits by this committer ] Original commit   Revision:341658
Fix usage with older make
[ 18:25 tijl search for other commits by this committer ] Original commit   Revision:341646
Introduce USES=libtool to replace USE_AUTOTOOLS=libtool.

Unlike USE_AUTOTOOLS=libtool which makes a port use libtool from
devel/libtool, this just patches the copy of libtool included in the
port.  This allows adding it to all ports that use libtool including
ports that build Fortran libraries and ports that use different
compilers or binutils than the ones used to build devel/libtool.

USES=libtool also changes the library naming specification similar
to what USE_GNOME=ltverhack does.  Given the libtool version info
$current:$revision:$age and $major=$current-$age the library will be
named libname.so.$major.$age.$revision instead of libname.so.$current
and libname.so.$major becomes a symlink.  Because $major increases
less frequently than $current this reduces the number of library
version bumps which means fewer rebuilds of dependent packages.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 35