From owner-freebsd-doc@FreeBSD.ORG Fri Jul 4 06:02:53 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B11337B408 for ; Fri, 4 Jul 2003 06:02:53 -0700 (PDT) Received: from www.example.org (ANice-205-1-11-152.w81-248.abo.wanadoo.fr [81.248.122.152]) by mx1.FreeBSD.org (Postfix) with SMTP id 760884401A for ; Fri, 4 Jul 2003 06:02:51 -0700 (PDT) (envelope-from molter@tin.it) Received: (qmail 38506 invoked by uid 1000); 4 Jul 2003 13:02:34 -0000 Date: Fri, 4 Jul 2003 15:02:33 +0200 From: Marco Molteni To: doc@freebsd.org Message-ID: <20030704130233.GE31018@cobweb.example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: porter's handbook is outdated, section 4.7.1 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 13:02:53 -0000 Hi, following is from 4.7.1: 4.7.1 LIB_DEPENDS This variable specifies the shared libraries this port depends on. It is a list of lib:dir[:target] tuples where lib is the name of the shared library, dir is the directory in which to find it in case it is not available, and target is the target to call in that directory. For example, LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg:install will check for a shared jpeg library with major version 9, and descend into the graphics/jpeg subdirectory of your ports tree to build and install it if it is not found. The target part can be omitted if it is equal to DEPENDS_TARGET (which defaults to install). Note: The lib part is an argument given to ldconfig -r | grep -wF. There shall be no regular expressions in this variable. Now, the last paragraph about how the lib part is handled is wrong. By looking at the bsd.port.mk makefile: if ${LDCONFIG} -r | ${GREP} -qwE -e "-l$$pattern"; then \ so actually the variable can be a regex. Please fix the documentation marco