From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 05:52:59 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 9DE0216A41F for ; Tue, 15 Nov 2005 05:52:59 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 120F343D5A for ; Tue, 15 Nov 2005 05:52:58 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by xproxy.gmail.com with SMTP id t10so1850810wxc for ; Mon, 14 Nov 2005 21:52:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XXBH7RtMBvFMO1e1zWghJPJ8Do6DJ9abRFidAi7UsTFwHe2gbZd09UdvyJmCSlMlJhAv9nTZZ7Pseu2XvRZUx/61zb/26g2VBowfEFbVknXNcMNSxLjgn37+/QuT+byuE/aWd9tX657IAw0kUEHeydxgWsSmMtbo0L/Hgl6a0VY= Received: by 10.65.83.11 with SMTP id k11mr1105583qbl; Mon, 14 Nov 2005 21:52:58 -0800 (PST) Received: by 10.65.105.8 with HTTP; Mon, 14 Nov 2005 21:52:58 -0800 (PST) Message-ID: Date: Tue, 15 Nov 2005 13:52:58 +0800 From: Jiawei Ye To: Craig Boston , Jiawei Ye , FreeBSD - Ports In-Reply-To: <20051115053937.GA35001@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051115053937.GA35001@nowhere> Cc: 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:52:59 -0000 On 11/15/05, Craig Boston wrote: > 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. I removed bdb3 quite a while ago and installed only bdb 4x. > > It could be a problem with recursive dependencies. How are you setting > WITH_BDB_VER? > > Craig I put these switches in pkgtools.conf and pm20.conf. Both complain about the dependancy on bdb3. portupgrade problem can be hacked around by using pkgdb -F, but portmanager currently chokes on it. Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming