In response to Jeremy Chadwick <[EMAIL PROTECTED]>:

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


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to