From owner-freebsd-ports Mon Jul 17 02:02:55 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA16335 for ports-outgoing; Mon, 17 Jul 1995 02:02:55 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA16303 ; Mon, 17 Jul 1995 02:02:44 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id CAA09359; Mon, 17 Jul 1995 02:02:19 -0700 Date: Mon, 17 Jul 1995 02:02:19 -0700 Message-Id: <199507170902.CAA09359@silvia.HIP.Berkeley.EDU> To: jkh@freefall.cdrom.com CC: ports@freefall.cdrom.com In-reply-to: <199507152044.NAA18983@freefall.cdrom.com> (jkh@freefall.cdrom.com) Subject: Re: Problem with LIB_DEPENDS.. From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@FreeBSD.org Precedence: bulk * I just put in a port that generates a static library (FWF). Guess what. * LIB_DEPENDS only works for dynamic libraries! :-) Satoshi, Heeeeelllp! :) I know...I ran into the same problem years ago (ok, months ago) with Wnn. The problem is, we don't really know where the user may have installed the library, there isn't an equivalent of "ldconfig -r" that we can use to determine the existence of a static library. The closest I can think of is .if !exists(/usr/X11R6/lib/libFWF.a) DEPENDS+= ${PORTSDIR}/x11/FWF .endif which will work if the library is in the "standard" place even if the user didn't use the port to compile/install it. However, this won't pull the dependency list into the package if libFWF is already installed before gmod. :< Now on to Andrey's mail.... Satoshi