From owner-freebsd-ports@FreeBSD.ORG Mon Nov 28 22:17:00 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 60D7916A422 for ; Mon, 28 Nov 2005 22:17:00 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id C98A043D88 for ; Mon, 28 Nov 2005 22:16:48 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 24720 invoked from network); 28 Nov 2005 22:14:51 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 28 Nov 2005 22:14:51 -0000 Received: (qmail 2586 invoked by uid 89); 28 Nov 2005 22:14:50 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 28 Nov 2005 22:14:50 -0000 Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 8F1FEBA5E; Tue, 29 Nov 2005 00:14:50 +0200 (EET) Date: Tue, 29 Nov 2005 00:14:50 +0200 From: Ion-Mihai Tetcu To: "Paul A. Hoadley" Message-ID: <20051129001450.14e813f5@it.buh.tecnik93.com> In-Reply-To: <20051128220819.GA8650@bigbird.logicsquad.net> References: <20051128220819.GA8650@bigbird.logicsquad.net> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.7; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Dealing with unversioned shared libraries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 22:17:00 -0000 On Tue, 29 Nov 2005 08:38:19 +1030 "Paul A. Hoadley" wrote: > Hello, > > I am trying to update the textproc/refdb port. The RefDB port depends > on one or more of the database/libdbi-drivers shared libraries, and > hence indirectly on database/libdbi. > > RefDB 0.9.6 (the latest version) needs the latest version of libdbi > (libdbi-0.8.1). It won't build under previous versions of libdbi. As > far as I can see (though I have only a rudimentary familiarity with > the shared library system), the shared libraries installed by > database/libdbi and database/libdbi-drivers aren't versioned. That > is, database/libdbi installs: > > -rw-r--r-- 1 root wheel 41852 Nov 14 18:26 libdbi.a > lrwxr-xr-x 1 root wheel 11 Nov 14 18:26 libdbi.so@ -> > libdbi.so.0 -rwxr-xr-x 1 root wheel 47133 Nov 14 18:26 > libdbi.so.0* > > And, for example, selecting the MySQL backend for > database/libdbi-drivers installs: > > -rwxr-xr-x 1 root wheel 23156 Nov 14 18:27 libmysql.so* > > in /usr/local/lib/dbd. Is there a way I can specify the dependence on > libdbi-0.8.1, and the corresponding libdbi-drivers? LIB_DPENDS=PORTNAME>=PORTVERSION_PORTREVISION_PORTEPOCH:${PORTSDIR}/Category/Port (i.e. BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple) -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" You say you are lying. But if everything you say is a lie, then you are telling the truth. You cannot tell the truth because everything you say is a lie. You lie, you tell the truth ... but you cannot, for you lie. -- Norman the android, "I, Mudd", stardate 4513.3