Date: Sun, 28 Aug 2011 15:27:09 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Dick Hoogendijk <dick@nagual.nl> Cc: freebsd-questions@freebsd.org Subject: Re: portmaster -a -B -d Message-ID: <4E5A503D.7050303@infracaninophile.co.uk> In-Reply-To: <4E5A36DB.7090200@nagual.nl> References: <4E5A36DB.7090200@nagual.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig415A961B21E7B95EFC535B4E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 a= m > 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 changes. 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 hand. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig415A961B21E7B95EFC535B4E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5aUEQACgkQ8Mjk52CukIyzWwCfXKxB0spvZsn4TipjN3GLjt8W 8XgAoIL771rihe+AQdzA40kJ6pr3fxyy =Edwt -----END PGP SIGNATURE----- --------------enig415A961B21E7B95EFC535B4E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5A503D.7050303>