ports/99699: [www/smarty] Won't Build even when PHP installed

Peter Beckman beckman at purplecow.com
Sun Jul 2 19:00:42 UTC 2006


The following reply was made to PR ports/99699; it has been noted by GNATS.

From: Peter Beckman <beckman at purplecow.com>
To: Alexander Zhuravlev <zaa at zaa.pp.ru>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/99699: [www/smarty] Won't Build even when PHP installed
Date: Sun, 2 Jul 2006 14:55:46 -0400 (EDT)

 On Sun, 2 Jul 2006, Alexander Zhuravlev wrote:
 
 > Generally, yes, smarty can work with any PHP SAPI, however in your case
 > the issue is not connected to a bug in the port specification.
 > Please try to perform the following operations
 >
 > 1. deinstall php ports
 > 2. cd /usr/ports/lang/php5/ && make config && make clean install clean
 > 3. cd /usr/ports/www/smarty && make clean install clean
 
      --> more /usr/local/etc/php.conf
      PHP_VER=5
      PHP_VERSION=5.1.2
      PHP_PORT=${PORTSDIR}/lang/php5
      PHP_SAPI=full
 
 Wouldn't simply changing this file fix it?  Seems like overkill to
 deinstall and reinstall an entire port just to update a simple config file.
 
 Also, shouldn't the bsd.php.mk be updated to handle the backwards
 compatibility of a very recent port?  Seems like fixing the bsd.php.mk file
 to handle older but valid installations of PHP would be a better fix than
 re-upgrading to upgrade smarty...
 
 If you agree, I'll open a change request for the .mk file rather than
 smarty.
 
 Beckman
 ---------------------------------------------------------------------------
 Peter Beckman                                                  Internet Guy
 beckman at purplecow.com                             http://www.purplecow.com/
 ---------------------------------------------------------------------------



More information about the freebsd-ports-bugs mailing list