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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
I'm always having to manually fix dependencies that get broken whenever a
port option I've chosen gives that port a different name than usual. For
example, I installed openldap-{client,server} with the "SASL" option and
the resulting packages are named openldap-sasl-{client,server}-$version.
This gives no end of problems such as:
# portversion -vL=
Stale dependency: kdeadmin-3.3.1 --> openldap-client-2.2.18 -- manually
run 'pkgdb -F' to fix, or specify -O to force. I've added what I thought
were appropriate alternate package dependency lines to pkgtools.conf:
ALT_PKGDEP = {
'apache-1.3.*' => 'apache+mod_ssl-1.3.*',
'openldap-client-*' => 'openldap-sasl-client-*',
'openldap-server-*' => 'openldap-sasl-server-*'
}
but they don't seem to have the desired effect. Am I doing something wrong,
or is ALT_PKGDEP not the appropriate way to solve this?
--
Kirk Strauser
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iD8DBQBBk8h75sRg+Y0CpvERAna+AKCNd8F8oUVhO2ZqgFCQER9qwKnddgCdE60c
FIA1VlKPryUGFy+Zpmz6MAw=
=EHfS
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411111415.55983.kirk>
