From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 1 21:00:37 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BBE116A407 for ; Sat, 1 Jul 2006 21:00:37 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97609454D7 for ; Sat, 1 Jul 2006 21:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k61L0aD5022325 for ; Sat, 1 Jul 2006 21:00:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k61L0aIM022324; Sat, 1 Jul 2006 21:00:36 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jul 2006 21:00:36 GMT Resent-Message-Id: <200607012100.k61L0aIM022324@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter Beckman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A03116A412 for ; Sat, 1 Jul 2006 20:55:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21D7C454D5 for ; Sat, 1 Jul 2006 20:55:15 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k61KtEW1073880 for ; Sat, 1 Jul 2006 20:55:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k61KtE2T073879; Sat, 1 Jul 2006 20:55:14 GMT (envelope-from nobody) Message-Id: <200607012055.k61KtE2T073879@www.freebsd.org> Date: Sat, 1 Jul 2006 20:55:14 GMT From: Peter Beckman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/99699: [www/smarty] Won't Build even when PHP installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 21:00:37 -0000 >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: