From owner-cvs-all@FreeBSD.ORG Tue Sep 4 19:32:36 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A440916A469; Tue, 4 Sep 2007 19:32:36 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 94DB913C45B; Tue, 4 Sep 2007 19:32:36 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l84JWaL1099871; Tue, 4 Sep 2007 19:32:36 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l84JWa14099870; Tue, 4 Sep 2007 19:32:36 GMT (envelope-from netchild) Message-Id: <200709041932.l84JWa14099870@repoman.freebsd.org> From: Alexander Leidinger Date: Tue, 4 Sep 2007 19:32:36 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/Tools/scripts explicit_lib_depends.sh neededlibs.sh resolveportsfromlibs.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 19:32:36 -0000 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