cvs commit: ports/Tools/scripts explicit_lib_depends.sh
neededlibs.sh resolveportsfromlibs.sh
Alexander Leidinger
netchild at FreeBSD.org
Tue Sep 4 12:32:36 PDT 2007
netchild 2007-09-04 19:32:36 UTC
FreeBSD ports repository
Modified files:
Tools/scripts explicit_lib_depends.sh neededlibs.sh
resolveportsfromlibs.sh
Log:
explicit_lib_depends.sh:
- check if an installed libtool records dependencies recursively and
print a warning if it does
currently it prints the warning on every system which has libtool
installed from ports (only my local version doesn't do this, the
version in the ports is not correctly patched for this, a patch
similar in complexity (= simple) like the ltdl.m4 one in the
libtool-port-patch-directory is needed)
- enhance the regex which is responsible to not print a dependency to
the port we are just checking
- add a work in progress (not executed) to collapse the USE_* which
can have more than one value
neededlibs.sh:
- we also care about shared libs
resolveportsfromlibs.sh:
- take care about USE_OPENSSL, USE_EFL, USE_GL, USE_FAM, USE_OPENLDAP,
USE_SDL
- search in the "ldconfig -r" output if we can not find the lib ourself
- a better way of getting the first part of the LIB_DEPENDS stuff
(lib/libXYZ.so can be specified now too)
- some line wrapping + whitespace
- print the origin for the USE_* too (except USE_OPENSSL), so an user
can make some sanity checks and the explicit_lib_depends.sh can DTRT
if we check the USE_* port itself
- warn if we can not determine the right component (can happen for XORG)
unambiguously.
Revision Changes Path
1.5 +39 -2 ports/Tools/scripts/explicit_lib_depends.sh
1.2 +2 -2 ports/Tools/scripts/neededlibs.sh
1.5 +82 -13 ports/Tools/scripts/resolveportsfromlibs.sh
More information about the cvs-all
mailing list