Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2004 15:31:07 +0100
From:      Daniel Bye <daniel.bye@psineteurope.com>
To:        FreeBSD Help <freebsd-questions@freebsd.org>
Subject:   Re: openldap dependencies
Message-ID:  <20040527143107.GA16989@ip48.ops.uk.psi.com>
In-Reply-To: <20040527141709.GA13580@andrew.spa.umn.edu>
References:  <20040527141709.GA13580@andrew.spa.umn.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040527143107.GA16989>