From owner-freebsd-ports@FreeBSD.ORG Sat May 19 09:33:32 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FBA6106566B; Sat, 19 May 2012 09:33:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id E93C78FC0A; Sat, 19 May 2012 09:33:08 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1SVg21-000Lbn-2R; Sat, 19 May 2012 12:33:01 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: "Matthew D. Fuller" In-reply-to: <20120518111657.GZ45091@over-yonder.net> References: <4FB62706.9070002@freebsd.org> <20120518111657.GZ45091@over-yonder.net> Comments: In-reply-to "Matthew D. Fuller" message dated "Fri, 18 May 2012 06:16:57 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 19 May 2012 12:33:01 +0300 From: Daniel Braniss Message-ID: Cc: ports@freebsd.org, Florian Smeets Subject: Re: portmaster and php 5.4/5.3 issues X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 09:33:32 -0000 > 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