From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 05:39:40 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 6A3BC16A41F for ; Tue, 15 Nov 2005 05:39:40 +0000 (GMT) (envelope-from craig@yekse.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3410243D45 for ; Tue, 15 Nov 2005 05:39:40 +0000 (GMT) (envelope-from craig@yekse.gank.org) Received: by ion.gank.org (mail, from userid 1001) id A63BB2D2D6; Mon, 14 Nov 2005 23:39:39 -0600 (CST) Date: Mon, 14 Nov 2005 23:39:37 -0600 From: Craig Boston To: Jiawei Ye Message-ID: <20051115053937.GA35001@nowhere> Mail-Followup-To: Craig Boston , Jiawei Ye , FreeBSD - Ports References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: FreeBSD - Ports Subject: Re: Why does security/amavisd-new depend on db3? 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: Tue, 15 Nov 2005 05:39:40 -0000 On Sun, Nov 13, 2005 at 09:57:03PM +0800, Jiawei Ye wrote: > This has been bothering me for quite a while now. Either portupgrade > or portmanager reports that amavisd-new depends on db3, when my > p5-BerkeleyDB depends on db42 (WITH_BDB_VER = 42). Has anyone else > seen this? Haven't seen this one particularly, but I do often see wrong dependencies get registered somehow. I haven't been bothered enough by it to track it down; just pkgdb -F every once in a while... For, example, even though I use security/krb5, everything that uses Kerberos ends up with a dependency on security/heimdal. I think it's because LIB_DEPENDS finds a library that already exists (libkrb5.so) and blindly registers a dependency on the port that it think installed it, even though it came from somewhere else. BDB, on the other hand, shouldn't have that problem since the shared library versions are different between db3 and db4. You don't by chance have both installed? Though even then WITH_BDB_VER should add the correct dep. It could be a problem with recursive dependencies. How are you setting WITH_BDB_VER? Craig