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

Alexander Zhuravlev zaa at zaa.pp.ru
Mon Jul 3 20:10:33 UTC 2006


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

From: Alexander Zhuravlev <zaa at zaa.pp.ru>
To: bug-followup at FreeBSD.org
Cc: Peter Beckman <beckman at purplecow.com>
Subject: Re: ports/99699: [www/smarty] Won't Build even when PHP installed
Date: Mon, 3 Jul 2006 23:41:03 +0400

 >     --> 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.
 
 Direct chnage of the file is not a good thing. It should be updated
 by php ports build scripts.
 
 > 
 > 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...
 
 Sometimes FreeBSD ports are changed in such a way that total rebuild of
 the ports is required. So usually it is OK to just rebuild the ports.
 
 -- 
 Alexander Zhuravlev



More information about the freebsd-ports-bugs mailing list