From owner-freebsd-ports@FreeBSD.ORG Sat Jun 12 23:46:27 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F12A216A4CE for ; Sat, 12 Jun 2004 23:46:27 +0000 (GMT) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id BDFCD43D49 for ; Sat, 12 Jun 2004 23:46:27 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: (qmail 17058 invoked by uid 1252); 12 Jun 2004 23:46:14 -0000 Date: 12 Jun 2004 19:46:14 -0400 Date: Sat, 12 Jun 2004 19:46:14 -0400 From: Adam Weinberger To: clayton rollins Message-ID: <20040612234614.GJ72578@toxic.magnesium.net> Mail-Followup-To: Adam Weinberger , clayton rollins , ports@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: Vim 6.2 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx X-ASL: 6/m/behind you User-Agent: Mutt/1.5.4i cc: ports@freebsd.org Subject: Re: Using LIB_DEPENDS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 23:46:28 -0000 >> (06.12.2004 @ 1935 PST): clayton rollins said, in 1.1K: << > Hi all, > > I'm in a situation where I think I have to use LIB_DEPENDS, > but want some advice before moving forward. > > The specific library I'm trying to link to is devel/icu2. Is > there a convenient way to include this? (Say, > USE_ICU2=yes, which I didn't see.) Or, am I stuck using > LIB_DEPENDS? You need to use LIB_DEPENDS. > If I'm stuck with LIB_DEPENDS, is there a way dynamically > support the dependency? ICU 2.6 and greater will work, > can I tell LIB_DEPENDS this somehow, or do have to link to > the version in ports and update this Makefile for each > update to icu2? LIB_DEPENDS= iculx:${PORTSDIR}/devel/libicu2 That will work because libiculx.so exists as a symlink. > Also, do libraries registered with LIB_DEPENDS count as > runtime depencies, or should I explicitely include that? > I assume it does, but figured I'd ask since I'm writing > anyways. >> end of "Using LIB_DEPENDS" from clayton rollins << LIB_DEPENDS implies both a BUILD_DEPEND and a RUN_DEPEND. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx