portmaster -a -B -d

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Aug 28 14:27:26 UTC 2011

On 28/08/2011 13:38, Dick Hoogendijk wrote:
> A few days back I did a "portmaster -a -B -d" but later on I found out
> that one port (www/eAccelerator) complained about being compiled for
> another version of PHP (which by then was updated by portmaster). I
> expected portmaster to take care of these kind of dependencies. Where am
> I wrong in this assumption?

eaccelerator is an oddity.  It only works properly with the version of
PHP it was compiled against.  Unfortunately there isn't a good automatic
mechanism in ports to say "recompile this port, because something it
depends on was upgraded."  It's like something that depends on a shlib
in that respect, that needs to be rebuilt when the shlib ABI version

While it might be possible to do hackish things, like include the PHP
pkg version string into the eaccelerator pkg version, on the whole the
correct solution seems to be to reinstall eaccelerator each time PHP
gets a significant upgrade.  Ideally ports committers should bump the
eaccelerator PORTREVISION to make ports management tools do that
automatically, but if not, you're going to have to remember to do it by



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110828/80eb22af/signature.pgp

More information about the freebsd-questions mailing list