1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/Mk/Uses
Tijl Coosemans aad09bc5e2 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).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
..
ada.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
bison.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
charsetfix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
cmake.mk Allow an alternative install prefix to be specified with 2014-04-11 21:45:55 +00:00
compiler.mk Add compiler:gcc-c++11-lib to instrument gcc linking with libc++ on system where default stl is libc++ 2014-04-08 15:16:39 +00:00
cran.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
desktop-file-utils.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
desthack.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
display.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
dos2unix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
fam.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
fmake.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
fortran.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
fuse.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
gecko.mk Fix dependency on thunderbird 2014-04-09 12:37:53 +00:00
gettext.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
gmake.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
iconv.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
imake.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
kmod.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
lha.mk Two new USES added to finish handling distfiles formats a consistent way: 2014-03-12 09:17:06 +00:00
libtool.mk When linking a library libA with a library libB using libtool, if libB.la 2014-04-23 13:25:16 +00:00
lua.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
makeself.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
motif.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
ncurses.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
ninja.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
openal.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
pathfix.mk Mk/pathfix.mk: Support more pkgconfig libdir matches 2014-04-09 12:45:54 +00:00
perl5.mk Drop support for non staged perl ports 2014-04-09 09:53:09 +00:00
pgsql.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
pkgconfig.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
pure.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
qmail.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
qmake.mk Reset default qmake flags so that they don't taint our 2014-04-09 19:00:49 +00:00
readline.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
scons.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
shared-mime-info.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
shebangfix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
tar.mk Fix a typo 2014-03-30 10:50:26 +00:00
tcl.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
tk.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
twisted.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
uidfix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
uniquefiles.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
webplugin.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
zenoss.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
zip.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
zope.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00