painful process.. php53/etc

Bryan Drewery bryan at shatow.net
Fri Jun 22 16:22:28 UTC 2012


On 6/22/2012 11:18 AM, Michael Scheidell wrote:
> 
> 
> On 6/22/12 12:05 PM, Kevin Oberman wrote:
>> N.B. I have no clue on PHP in specific, having avoided it like the
>> plague for years, but in general, the proper way to replace one port
>> with another is:
>> portmaster -o www/php5 www/php53
>> This will cause portmaster to do the right things, including fix-up
>> all dependent ports to point at the newly installed port. At least, I
>> see no reason to re-build all of the ports that depend on PHP. I don't
>> think that this produced any changed in APIs or ABIs.
> 
> this patch look reasonable? install it right under ale@ UPDATING entry?
> 
> RCS file: /home/pcvs/ports/UPDATING,v
> retrieving revision 1.1256
> diff -u -r1.1256 UPDATING
> --- UPDATING    18 Jun 2012 23:23:18 -0000    1.1256
> +++ UPDATING    22 Jun 2012 16:16:16 -0000
> @@ -252,6 +252,17 @@
>    If you want to remain at PHP 5.3, a new port (lang/php53) has been
>    created for such purpose.
> 
> +20120516:
> +  AFFECTS: users of lang/php5 who want to stay at lang/php53
> +  AUTHOR: scheidell at FreeBSD.org
> +
> +  If as above, you want to stay at lang/php53, and you have lang/php5
> (5.3)
> +  currently installed, you should allow portmaster to fix this up for you.
> +  Update your ports tree, and do this:
> +  portmaster -o lang/php53 lang/php5
> +  It should do the right things, including fix-up all the dependent ports
> +  to point at the newly installed port. (with thanks to Kevin Oberman)
> +
> 

Does that actually work though?

Somehow it seems too simple given this discussion continues to come up
with various /var/db/pkg hacks.


-- 
Regards,
Bryan Drewery
bdrewery at freenode/EFNet




More information about the freebsd-ports mailing list