How to use ALT_PKGDEP?
Kirk Strauser
kirk at strauser.com
Thu Nov 11 20:16:03 GMT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041111/ccf413a6/attachment.bin
More information about the freebsd-questions
mailing list