Date: Wed, 8 Nov 2006 07:08:53 -0800 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Bill Moran <wmoran@collaborativefusion.com> Cc: ports@freebsd.org Subject: Re: Could use some help fixing the pecl-crack port (broken since php 5.2?) Message-ID: <20061108150853.GA39844@icarus.home.lan> In-Reply-To: <20061108092446.32d21eb8.wmoran@collaborativefusion.com> References: <20061108092446.32d21eb8.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061108150853.GA39844>