Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 14:15:52 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   How to use ALT_PKGDEP?
Message-ID:  <200411111415.55983.kirk@strauser.com>

next in thread | raw e-mail | index | archive | help
--nextPart3519436.YhG4yTMUyX
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm always having to manually fix dependencies that get broken whenever a=20
port option I've chosen gives that port a different name than usual.  For=20
example, I installed openldap-{client,server} with the "SASL" option and=20
the resulting packages are named openldap-sasl-{client,server}-$version. =20
This gives no end of problems such as:

    # portversion -vL=3D
    Stale dependency: kdeadmin-3.3.1 --> openldap-client-2.2.18 -- manually=
=20
run 'pkgdb -F' to fix, or specify -O to force.  I've added what I thought=20
were appropriate alternate package dependency lines to pkgtools.conf:

  ALT_PKGDEP =3D {
    'apache-1.3.*'              =3D> 'apache+mod_ssl-1.3.*',
    'openldap-client-*'         =3D> 'openldap-sasl-client-*',
    'openldap-server-*'         =3D> 'openldap-sasl-server-*'
  }

but they don't seem to have the desired effect.  Am I doing something wrong=
,=20
or is ALT_PKGDEP not the appropriate way to solve this?
=2D-=20
Kirk Strauser

--nextPart3519436.YhG4yTMUyX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iD8DBQBBk8h75sRg+Y0CpvERAna+AKCNd8F8oUVhO2ZqgFCQER9qwKnddgCdE60c
FIA1VlKPryUGFy+Zpmz6MAw=
=EHfS
-----END PGP SIGNATURE-----

--nextPart3519436.YhG4yTMUyX--



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