Date: Sat, 1 Jul 2006 20:55:14 GMT From: Peter Beckman <beckman@purplecow.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/99699: [www/smarty] Won't Build even when PHP installed Message-ID: <200607012055.k61KtE2T073879@www.freebsd.org> Resent-Message-ID: <200607012100.k61L0aIM022324@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99699 >Category: ports >Synopsis: [www/smarty] Won't Build even when PHP installed >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 01 21:00:35 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Peter Beckman >Release: 6.0-RELEASE >Organization: >Environment: FreeBSD nog.purplecow.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 2 19:07:38 UTC 2005 root@rat.samsco.home:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The Makefile uses WANT_PHP_WEB= yes Yet when I try to make I get "This port requires the Apache Module or the CGI version of PHP, but you have already installed a PHP port without them." I _do_ have PHP5 installed as both a module and cgi from lang/php5: --> pkg_info | grep php5 php5-5.1.2_1 PHP Scripting Language (Apache Module and CLI) In bsd.php.mk, it says: "Don't specify any WANT_PHP_* knob if your port will work with every PHP SAPI." I believe Smarty will work with all PHP_SAPI's. Commenting out WANT_PHP_WEB= yes from the Makefile finds success. HOWEVER! This MAY be a bug in the bsd.php.mk file; I'm not sure; I couldn't tell how ${PHP_SAPI:Mcgi} or ${PHP_SAPI:Mmod} are set. >How-To-Repeat: cd /usr/ports/lang/php5 make install cd /usr/ports/www/smarty make install >Fix: Comment out WANT_PHP_WEB= yes from the Makefile. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607012055.k61KtE2T073879>