From owner-freebsd-ports@FreeBSD.ORG Thu Jan 29 01:44:02 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B19C1065672 for ; Thu, 29 Jan 2009 01:44:02 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39103.mail.mud.yahoo.com (web39103.mail.mud.yahoo.com [209.191.86.254]) by mx1.freebsd.org (Postfix) with SMTP id A73018FC13 for ; Thu, 29 Jan 2009 01:44:01 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 89273 invoked by uid 60001); 29 Jan 2009 01:44:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=aKcnAgMTF3qlJJRWgHwqu9Urq4xHi2UuWKyp3w4uZo1bncD3feQLQSDMazUCCgFd1ca+deicS3vYrdYYFzCgQo0u733skaImDI7rpkbU4rOSqOxae043NJHL3OAHtY60ZnuxzxdYVMr8tTQ2VV5DylktUOAJIsog2G4hz2fVVqk=; X-YMail-OSG: wNsqz5MVM1n_njPppskQ_Tp.GYRDZbCJGRsC4CSjSPNh70nQIwPJaUFscCZ49Q6G6_IBZyjC5npfEIw0QAwGKRnF.gqgytodvp.JDubCBRH3hHsFrFYOIv5iG2i9f1RlvCq4M5tCJ4mZqIpsc60wqifV5G8x6D4IfKgyzT3PnbvXrP4hW5_sVLK8OAyDlQFpP0zgddx2ZrgADTE- Received: from [209.44.114.178] by web39103.mail.mud.yahoo.com via HTTP; Wed, 28 Jan 2009 17:44:01 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 28 Jan 2009 17:44:01 -0800 (PST) From: bf To: freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <307782.69347.qm@web39103.mail.mud.yahoo.com> Cc: venture37@gmail.com Subject: LIB_DEPENDS & dealing with libraries which don't show up in ldconfig -r X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf2006a@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 01:44:02 -0000 >Sevan / Venture37 wrote: >> Hi >> Whilst attempting to create a port for OpenNMS I've hit a wall, one of >> the dependencies is net/jicmp, the problem I'm having is when attempting >> to build OpenNMS, jicmp is not detected as being installed & a >> installation is always attempted & the process bombs out if it is, what >> is the process for dealing with libraries as dependencies which don't >> show up in ldconfig -r???? >> >> >> Sevan / Venture37 > > Problem solved > Instead of trying to list the .so file as a dependency, list the .jar > file which is part of jicmp instead. > > BUILD_DEPENDS= ${JAVAJARDIR}/jicmp.jar:${PORTSDIR}/net/jicmp > > > Sevan / Venture37 Yes, but you may have to add it to RUN_DEPENDS as well, if your port needs it. And of course you should make sure your port is linking to it properly, both during the build and after installation. b.