Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 06:16:57 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Florian Smeets <flo@freebsd.org>
Cc:        Daniel Braniss <danny@cs.huji.ac.il>, ports@freebsd.org
Subject:   Re: portmaster and php 5.4/5.3 issues
Message-ID:  <20120518111657.GZ45091@over-yonder.net>
In-Reply-To: <4FB62706.9070002@freebsd.org>
References:  <E1SVK8E-0006c8-Ks@kabab.cs.huji.ac.il> <4FB62706.9070002@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 18, 2012 at 12:40:06PM +0200 I heard the voice of
Florian Smeets, and lo! it spake thus:
> On 05/18/2012 12:09, Daniel Braniss wrote:
> > what (if any :-), is the magic to convince portmaster to compile
> > the php53-* extensions instead of php5-* extensions?
> 
> you need to deinstall all php5* ports (something like pkg_delete -x
> php5) and reinstall php53 and php53-extensions with your list of
> modules set to on. One example, if you have archivers/php5-zip now
> you need archivers/php53-zip with php53.

As a dirty rotten underhanded wildly-unsupported trick I've used in
the past to hack around this issue, I've manually edited
/var/db/pkg/php5-*/+CONTENTS to s/php5/php5_/ all the ORIGIN lines.
Then I could just `portmaster` or `portupgrade -f` them all, and it
winds up OK.  Usually.


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



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