Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 12:33:01 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        ports@freebsd.org, Florian Smeets <flo@freebsd.org>
Subject:   Re: portmaster and php 5.4/5.3 issues
Message-ID:  <E1SVg21-000Lbn-2R@kabab.cs.huji.ac.il>
In-Reply-To: <20120518111657.GZ45091@over-yonder.net>
References:  <E1SVK8E-0006c8-Ks@kabab.cs.huji.ac.il>  <4FB62706.9070002@freebsd.org> <20120518111657.GZ45091@over-yonder.net>

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.

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SVg21-000Lbn-2R>