1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/Mk/Uses
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
..
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 Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +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
cpe.mk Add support for inserting CPE URIs as package annotations. 2014-05-17 18:09:14 +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
drupal.mk New USES=drupal 2014-06-18 12:16:43 +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 - Update Firefox to 30.0 2014-06-11 03:42:55 +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
gssapi.mk Also support fmake 2014-06-17 15:42:45 +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 Add 4 new sed commands to USES=libtool. The first two apply some of the 2014-06-22 10:44:29 +00:00
lua.mk Fix packaging of lang/tolua++ with pkg_install 2014-06-17 19:44:28 +00:00
makeself.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
mono.mk A typo can hide another typo 2014-05-26 13:15:11 +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
objc.mk Add a USES to handle objective C (chosing compiler adding the right dependency on the runtime library) 2014-05-08 13:32:12 +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 Rename pathfix-pre-patch target into pathfix to be consistent 2014-05-22 06:42:20 +00:00
perl5.mk Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
pgsql.mk Add 9.4 to the list of valid pgsql versions 2014-05-29 08:09:24 +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 Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +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 scons expect lots of variables to be set as arguments 2014-05-27 12:13:05 +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 Switch to tabspace: 8 2014-06-18 07:17:13 +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 - Use /usr/bin/unzip for zip files extraction (part 1) 2014-05-22 09:51:35 +00:00
zope.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00