Date: Fri, 4 Jul 2003 15:02:33 +0200 From: Marco Molteni <molter@tin.it> To: doc@freebsd.org Subject: porter's handbook is outdated, section 4.7.1 Message-ID: <20030704130233.GE31018@cobweb.example.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704130233.GE31018>