1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/Mk
Tijl Coosemans 3e4a806167 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.

When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead.  The two sed commands make relink the same as a
normal link.  This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up.  Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)

Fix all ports with missing libraries.

Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
   instead of disabling optimisations.
net/libnetdude: disable static plugins.

PR:		190941
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-06-22 10:44:29 +00:00
..
Scripts Do not report files @commented by multiple options as orphans 2014-06-20 21:07:30 +00:00
Uses Add 4 new sed commands to USES=libtool. The first two apply some of the 2014-06-22 10:44:29 +00:00
bsd.apache.mk tabspace: 8 2014-06-18 07:20:29 +00:00
bsd.autotools.mk tabspace: 8 2014-06-18 07:26:25 +00:00
bsd.commands.mk Revert a commit that should not have crept in 2014-06-18 12:35:11 +00:00
bsd.database.mk tabspace: 8 2014-06-18 07:30:24 +00:00
bsd.default-versions.mk Revert r356123 2014-06-02 18:29:22 +00:00
bsd.destdir.mk
bsd.efl.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.emacs.mk - Update to bzr revision 24.4.50 2014-05-02 01:51:50 +00:00
bsd.fpc.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.gcc.mk
bsd.gecko.mk Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
bsd.gnome.mk Add a USE_GNOME py3gobject3 component for devel/py3-gobject3 added in r355246. 2014-05-26 07:22:01 +00:00
bsd.gnustep.mk Do not overwrite USES but append values to it 2014-05-26 13:43:25 +00:00
bsd.gstreamer.mk
bsd.java.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.kde4.mk KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9! 2014-05-10 19:43:14 +00:00
bsd.ldap.mk
bsd.licenses.db.mk Use short name from spdx.org for OpenSSL license 2014-06-21 16:10:13 +00:00
bsd.licenses.mk Ask politely that people run changes to bsd.licences.mk and bsd.licenses.db.mk 2014-06-19 05:54:02 +00:00
bsd.linux-apps.mk
bsd.linux-rpm.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.local.mk Switch to default tabspace: 8 2014-06-18 07:14:22 +00:00
bsd.mate.mk
bsd.ocaml.mk math/ocamlgsl: Update version 0.6.0 => 1.15.1 2014-06-11 01:40:09 +00:00
bsd.octave.mk - Convert to new LIB_DEPENDS format 2014-05-03 16:20:54 +00:00
bsd.openssl.mk
bsd.options.desc.mk Add a small notice about maintainership of this file. 2014-06-21 17:08:34 +00:00
bsd.options.mk - strip optional WITH parameter from argument if OPTION is set to off 2014-06-21 13:29:30 +00:00
bsd.pbi.mk
bsd.php.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.pkgng.mk tabspace: 8 2014-06-18 12:22:20 +00:00
bsd.port.mk Make @dirrmtry handling in pkg_install closer to what pkg does 2014-06-20 21:03:02 +00:00
bsd.port.options.mk tabspace: 8 2014-06-18 12:21:35 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk tabspace: 8 2014-06-18 12:20:53 +00:00
bsd.python.mk Make @dirrmtry handling in pkg_install closer to what pkg does 2014-06-20 21:03:02 +00:00
bsd.qt.mk The KDE on FreeBSD team presents Qt 4.8.6. 2014-05-05 20:47:22 +00:00
bsd.ruby.mk - Force use of libreadline from ports rather than base, in order to avoid 2014-05-30 18:34:29 +00:00
bsd.sanity.mk Register USE_DRUPAL as unsupported 2014-06-18 12:23:22 +00:00
bsd.sdl.mk Use new LIB_DEPENDS syntax in Mk/bsd.sdl.mk. 2014-05-02 14:45:32 +00:00
bsd.sites.mk Remove a trailing backslash 2014-06-01 09:01:42 +00:00
bsd.ssp.mk
bsd.stage.mk Remove manpage leftovers in stage 2014-06-16 12:23:52 +00:00
bsd.tex.mk Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
bsd.wx.mk tabspace: 8 2014-06-18 09:41:25 +00:00
bsd.xfce.mk
bsd.xorg.mk Make pkg_install aware of @fc @fcfontsdir and @fontsdir 2014-06-12 10:10:50 +00:00