From owner-freebsd-questions@FreeBSD.ORG Thu May 27 07:33:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECDE716A4CE for ; Thu, 27 May 2004 07:33:16 -0700 (PDT) Received: from md1.psixpress.com (md1.psixpress.com [154.32.105.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13CE843D1D for ; Thu, 27 May 2004 07:33:16 -0700 (PDT) (envelope-from danielby@ip48.ops.uk.psi.com) Received: from ip48.ops.uk.psi.com (ip48.ops.uk.psi.com [154.8.22.48]) by md1.psixpress.com (MOS 3.4.4-GR) with ESMTP id BDC39995 (AUTH via LOGINBEFORESMTP); Thu, 27 May 2004 15:31:08 +0100 (BST) Received: from danielby by ip48.ops.uk.psi.com with local (Exim 4.34; FreeBSD) id 1BTLuV-0004Ui-RK for freebsd-questions@freebsd.org; Thu, 27 May 2004 15:31:07 +0100 Date: Thu, 27 May 2004 15:31:07 +0100 From: Daniel Bye To: FreeBSD Help Message-ID: <20040527143107.GA16989@ip48.ops.uk.psi.com> Mail-Followup-To: FreeBSD Help References: <20040527141709.GA13580@andrew.spa.umn.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20040527141709.GA13580@andrew.spa.umn.edu> User-Agent: Mutt/1.4.2.1i Subject: Re: openldap dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 14:33:17 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2004 at 09:17:09AM -0500, Andy Wettstein wrote: > Hello, >=20 > I'm having a problem with the dependencies for openldap. I build > openldap21 with sasl support so I get openldap21-sasl-client. Then I > build pam_ldap and it builds fine, but it depends on openldap21-client. > So my dependencies are broken and I need to do a pkg_db -F. Is there > a way to tell packages that depend on openldap21-client to depend on > openldap21-sasl-client instead?=20 Yes! The portupgrade config file, /usr/local/etc/pkgtools.conf is your friend in this case. The ALT_PKGDEP section is what you want - set something like this (NOT TESTED!): ALT_PKGDEP =3D { 'net/openldap21-client' =3D> 'net/openldap21-sasl-client', } This simply tells portupgrade and friends that for any package that depends on openldap21-client, make it now depend instead on openldap21-sasl-client. HTH Dan --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtfur31B8YuHL9ZwRApT7AJ9hiVJCb7yYbiQJ0JrHtYrQv73yCACg4Pt+ 1tx1UP6i8dEfVau3r1Hg+Co= =MdQv -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--