From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 25 14:10:03 2005 Return-Path: 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 0D2BE16A4CE for ; Fri, 25 Mar 2005 14:10:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE4443D46 for ; Fri, 25 Mar 2005 14:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2PEA2Ap037760 for ; Fri, 25 Mar 2005 14:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2PEA2Kr037759; Fri, 25 Mar 2005 14:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 25 Mar 2005 14:10:02 GMT Resent-Message-Id: <200503251410.j2PEA2Kr037759@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, Mykola Dzham Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C911216A4CE for ; Fri, 25 Mar 2005 14:04:44 +0000 (GMT) Received: from workstation.levsha.org.ua (office.terabit.net.ua [195.137.202.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D879043D55 for ; Fri, 25 Mar 2005 14:04:43 +0000 (GMT) (envelope-from levsha@workstation.levsha.org.ua) Received: from levsha by workstation.levsha.org.ua with local (Exim 4.43 (FreeBSD)) id 1DEpQX-0006w2-Vr for FreeBSD-gnats-submit@freebsd.org; Fri, 25 Mar 2005 16:04:42 +0200 Message-Id: Date: Fri, 25 Mar 2005 16:04:41 +0200 From: Mykola Dzham Sender: Mykola Dzham To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/79227: [patch] Mk/bsd.php.mk: incorrect processing WANT_PHP_CGI when lang/php installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mykola Dzham List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 14:10:03 -0000 >Number: 79227 >Category: ports >Synopsis: [patch] Mk/bsd.php.mk: incorrect processing WANT_PHP_CGI when lang/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: Fri Mar 25 14:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mykola Dzham >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD workstation.levsha.org.ua 5.3-STABLE FreeBSD 5.3-STABLE #1: Fri Mar 11 19:34:53 EET 2005 levsha@workstation.levsha.org.ua:/usr/obj/usr/src/sys/LEVSHA i386 >Description: Can not install port with WANT_PHP_CGI=yes when lang/php4 (or lang/php5) installed: the error "This port requires the CGI version of PHP" occur. >How-To-Repeat: Install lang/php4 Try to install www/pnews : # cd /usr/ports/www/pnews # make This port requires the CGI version of PHP, but you have already installed a conflicting PHP port without CGI. *** Error code 1 Stop in /usr/ports/www/pnews. >Fix: *** bsd.php.mk.orig Fri Mar 25 15:19:16 2005 --- bsd.php.mk Fri Mar 25 15:19:44 2005 *************** *** 112,118 **** @${ECHO_CMD} "Do not use WANT_PHP_CGI with other WANT_PHP_* knobs." @${FALSE} . else ! . if defined(PHP_VERSION) && ${PHP_SAPI} != "cgi" check-makevars:: @${ECHO_CMD} "This port requires the CGI version of PHP, but you have already" @${ECHO_CMD} "installed a conflicting PHP port without CGI." --- 112,118 ---- @${ECHO_CMD} "Do not use WANT_PHP_CGI with other WANT_PHP_* knobs." @${FALSE} . else ! . if defined(PHP_VERSION) && ${PHP_SAPI} != "full" && ${PHP_SAPI} != "cgi" check-makevars:: @${ECHO_CMD} "This port requires the CGI version of PHP, but you have already" @${ECHO_CMD} "installed a conflicting PHP port without CGI." >Release-Note: >Audit-Trail: >Unformatted: