portmaster and php 5.4/5.3 issues

Daniel Braniss danny at cs.huji.ac.il
Sat May 19 09:33:32 UTC 2012


> 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.

well, I came up with a third way :-), Matthew pointed to db/pkg, and I noticed
that there where php5- and php53- (i had done a make in php53-extensions),
so I removed all the php5- and this time portmaster worked ok. I also home php
is doing ok but that will wait for the web guys ( i will probably take the week
off). This solution left /usr/local/lib/php/20090626-zts but that't the
least of my troubles.

understatement:
	why is POLA not applied to ports?

clarification:
	I'm very happy with ports, portsnap, portmaster, it's that sometimes
it explodes in my face

thanks all

	danny




More information about the freebsd-ports mailing list