/[ports]
ViewVC logotype

Revision 351936


Jump to revision: Previous Next
Author: tijl
Date: Wed Apr 23 13:25:16 2014 UTC (12 years, 6 months ago)
Changed paths: 462 (showing only 100; show all)
Log Message:
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)


Changed paths

Path Details
Directoryhead/CHANGES modified , text changed
Directoryhead/Mk/Uses/libtool.mk modified , text changed
Directoryhead/Mk/bsd.port.mk modified , text changed
Directoryhead/Mk/bsd.xorg.mk modified , text changed
Directoryhead/archivers/libcomprex/Makefile modified , text changed
Directoryhead/archivers/libdynamite/Makefile modified , text changed
Directoryhead/archivers/liborange/Makefile modified , text changed
Directoryhead/archivers/librtfcomp/Makefile modified , text changed
Directoryhead/archivers/lzo2/Makefile modified , text changed
Directoryhead/archivers/ucl/Makefile modified , text changed
Directoryhead/archivers/unshield/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-a52dec/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-amrnb/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-amrwbdec/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-cdparanoia/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-faac/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-faad/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-flac/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-flite/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-gme/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-gsm/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-jack/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-lame/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-mad/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-modplug/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-ogg/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-opus/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-shout2/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-sidplay/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-soundtouch/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-speex/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-taglib/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-twolame/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-vorbis/Makefile modified , text changed
Directoryhead/audio/gstreamer1-plugins-wavpack/Makefile modified , text changed
Directoryhead/audio/id3lib/Makefile modified , text changed
Directoryhead/audio/libcddb/Makefile modified , text changed
Directoryhead/audio/libmad/Makefile modified , text changed
Directoryhead/audio/libmikmod/Makefile modified , text changed
Directoryhead/audio/libsamplerate/Makefile modified , text changed
Directoryhead/audio/libtremor/Makefile modified , text changed
Directoryhead/audio/mpg123/Makefile modified , text changed
Directoryhead/audio/pd/Makefile modified , text changed
Directoryhead/audio/rhythmbox/Makefile modified , text changed
Directoryhead/audio/speex/Makefile modified , text changed
Directoryhead/benchmarks/iperf3/Makefile modified , text changed
Directoryhead/comms/aldo/Makefile modified , text changed
Directoryhead/comms/gsmlib/Makefile modified , text changed
Directoryhead/comms/gstreamer1-plugins-spandsp/Makefile modified , text changed
Directoryhead/comms/hidapi/Makefile modified , text changed
Directoryhead/comms/hidapi/pkg-plist modified , text changed
Directoryhead/converters/recode/Makefile modified , text changed
Directoryhead/databases/glom/Makefile modified , text changed
Directoryhead/databases/libgdamm/Makefile modified , text changed
Directoryhead/databases/libiodbc/Makefile modified , text changed
Directoryhead/databases/libzdb/Makefile modified , text changed
Directoryhead/databases/vsqlite/Makefile modified , text changed
Directoryhead/deskutils/bitcollider/Makefile modified , text changed
Directoryhead/deskutils/gtkjournal/Makefile modified , text changed
Directoryhead/deskutils/notify-osd/Makefile modified , text changed
Directoryhead/devel/anjuta/Makefile modified , text changed
Directoryhead/devel/anjuta-extras/Makefile modified , text changed
Directoryhead/devel/bug-buddy/Makefile modified , text changed
Directoryhead/devel/dbus/Makefile modified , text changed
Directoryhead/devel/devhelp/Makefile modified , text changed
Directoryhead/devel/eggdbus/Makefile modified , text changed
Directoryhead/devel/gconfmm26/Makefile modified , text changed
Directoryhead/devel/glade3/Makefile modified , text changed
Directoryhead/devel/glibmm/Makefile modified , text changed
Directoryhead/devel/gnome-vfs/Makefile modified , text changed
Directoryhead/devel/gnome-vfs-monikers/Makefile modified , text changed
Directoryhead/devel/gnome-vfsmm/Makefile modified , text changed
Directoryhead/devel/goffice010/Makefile modified , text changed
Directoryhead/devel/gstreamer1-plugins-soup/Makefile modified , text changed
Directoryhead/devel/judy/Makefile modified , text changed
Directoryhead/devel/libIDL/Makefile modified , text changed
Directoryhead/devel/libdaemon/Makefile modified , text changed
Directoryhead/devel/libdnsres/Makefile modified , text changed
Directoryhead/devel/libevt/Makefile modified , text changed
Directoryhead/devel/libevtx/Makefile modified , text changed
Directoryhead/devel/libewf/Makefile modified , text changed
Directoryhead/devel/libgdata/Makefile modified , text changed
Directoryhead/devel/libgee/Makefile modified , text changed
Directoryhead/devel/libghthash/Makefile modified , text changed
Directoryhead/devel/libglademm24/Makefile modified , text changed
Directoryhead/devel/liblnk/Makefile modified , text changed
Directoryhead/devel/liblogging/Makefile modified , text changed
Directoryhead/devel/libmimedir/Makefile modified , text changed
Directoryhead/devel/libmsiecf/Makefile modified , text changed
Directoryhead/devel/liboil/Makefile modified , text changed
Directoryhead/devel/libolecf/Makefile modified , text changed
Directoryhead/devel/liboobs/Makefile modified , text changed
Directoryhead/devel/libpciaccess/Makefile modified , text changed
Directoryhead/devel/libpeas/Makefile modified , text changed
Directoryhead/devel/libregf/Makefile modified , text changed
Directoryhead/devel/libsigcx/Makefile modified , text changed
Directoryhead/devel/libsoup/Makefile modified , text changed
Directoryhead/devel/libvshadow/Makefile modified , text changed
Directoryhead/devel/log4cplus/Makefile modified , text changed
Directoryhead/devel/mq4cpp/Makefile modified , text changed
[...]

  ViewVC Help
Powered by ViewVC 1.1.27