Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 11:22:43 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        Michael Scheidell <scheidell@FreeBSD.org>
Cc:        ports@freebsd.org, Kevin Oberman <kob6558@gmail.com>
Subject:   Re: painful process.. php53/etc
Message-ID:  <4FE49BD3.2010803@shatow.net>
In-Reply-To: <4FE49AD4.6050901@FreeBSD.org>
References:  <4FE48696.2020601@FreeBSD.org> <CAN6yY1sxfD5hyKXMis%2BjnV%2BSJj3KFrqCHF1o1MyCUPZtGdvOpQ@mail.gmail.com> <4FE49AD4.6050901@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freenode/EFNet





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE49BD3.2010803>