Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 15:02:34 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        ports@freebsd.org
Subject:   Re: Could use some help fixing the pecl-crack port (broken since php 5.2?)
Message-ID:  <20061108150234.8fcfe052.wmoran@collaborativefusion.com>
In-Reply-To: <20061108150853.GA39844@icarus.home.lan>
References:  <20061108092446.32d21eb8.wmoran@collaborativefusion.com> <20061108150853.GA39844@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Jeremy Chadwick <freebsd@jdc.parodius.com>:

> On Wed, Nov 08, 2006 at 09:24:46AM -0500, Bill Moran wrote:
> > Now, crack.so is in /usr/local/lib/php/20060613/crack.so, so it would
> > appear as if my pkg-plist needs updated.  No worries ...
> > 
> > except I'm a little unclear on the build magic behind PHP.  I'm guessing
> > that 20060613 is some sort of API date?  If so, is it Ok to be hard-
> > coding this in to the pkg-plist?  It seems as if this is handled by
> > bsd.php.mk:
> > 
> > .if ${PHP_VER} == 4
> > PHP_EXT_DIR=    20020429
> > .else
> > PHP_EXT_DIR=    20060613
> > .endif
> > 
> > Which means hardcoding the path into the pkg-plist will break the port for
> > PHP 4.  Despite the fact that I don't think many folks are using PHP 4,
> > I'd rather not do this.
> 
> Looking at ports/Mk/bsd.php.mk, label `add-plist-phpext`, it appears the
> PHP port framework already adds the appropriate .so to the packing list
> for you.  You can verify this by removing it from your pkg-plist, doing a
> make install, then looking at /var/db/pkg/whatever/+CONTENTS

Thanks, Jeremy ... that explains it for me.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.





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