From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 15 03:30:26 2003 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 2984D16A4CE for ; Sat, 15 Nov 2003 03:30:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914F43FE9 for ; Sat, 15 Nov 2003 03:30:23 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAFBUNFY060397 for ; Sat, 15 Nov 2003 03:30:23 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAFBUMUq060396; Sat, 15 Nov 2003 03:30:22 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 15 Nov 2003 03:30:22 -0800 (PST) Resent-Message-Id: <200311151130.hAFBUMUq060396@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, dirk.meyer@dinoex.sub.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D76EA16A4CE for ; Sat, 15 Nov 2003 03:23:28 -0800 (PST) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [212.184.201.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E108943FB1 for ; Sat, 15 Nov 2003 03:23:24 -0800 (PST) (envelope-from dm@home.dinoex.sub.de) Received: from home.dinoex.sub.de (home.dinoex.sub.de [217.6.200.196]) by uucp.dinoex.sub.de (8.12.10/8.12.10) with ESMTP id hAFBNJHJ058730 for ; Sat, 15 Nov 2003 12:23:19 +0100 (CET) (envelope-from dm@home.dinoex.sub.de) Received: (from dm@localhost) by home.dinoex.sub.de (8.12.10/8.12.9/Submit) id hAFBNM21039700; Sat, 15 Nov 2003 12:23:22 +0100 (CET) (envelope-from dm) Message-Id: <200311151123.hAFBNM21039700@home.dinoex.sub.de> Date: Sat, 15 Nov 2003 12:23:22 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/59300: lang/php4 errors, and PHP_PORT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dirk.meyer@dinoex.sub.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 11:30:26 -0000 X-List-Received-Date: Sat, 15 Nov 2003 11:30:26 -0000 >Number: 59300 >Category: ports >Synopsis: lang/php4 errors, and PHP_PORT >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 Nov 15 03:30:22 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 5.1-CURRENT i386 >Organization: privat >Environment: >Description: 1) bsd.php4.mk has systax errors 2) use of bsd.php4.mk can't be configureed to use other ports, like www/php-twig, lang/php-nms >How-To-Repeat: /usr/ports/lang/php4$ make WANT_PHP_WEB=1 HAVE_PHP=1 -f bsd.php.mk "bsd.php.mk", line 55: Need an operator "bsd.php.mk", line 56: Need an operator "bsd.php.mk", line 57: Need an operator make: fatal errors encountered -- cannot continue >Fix: apply this patch: Index: bsd.php.mk =================================================================== RCS file: /home/pcvs/ports/lang/php4/bsd.php.mk,v retrieving revision 1.3 diff -u -r1.3 bsd.php.mk --- bsd.php.mk 3 Jul 2003 05:51:18 -0000 1.3 +++ bsd.php.mk 15 Nov 2003 11:22:56 -0000 @@ -15,20 +15,20 @@ .if exists(${LOCALBASE}/bin/php) && exists(${LOCALBASE}/bin/pear) HAVE_PHP_CLI= yes HAVE_PHP= yes -PHP_PORT= ${PORTSDIR}/lang/php4-cli +PHP_PORT?= ${PORTSDIR}/lang/php4-cli .endif .if exists(${LOCALBASE}/bin/php) && !exists(${LOCALBASE}/bin/pear) HAVE_PHP_CGI= yes HAVE_PHP= yes -PHP_PORT= ${PORTSDIR}/www/php4-cgi +PHP_PORT?= ${PORTSDIR}/www/php4-cgi .endif .if exists(${LOCALBASE}/libexec/apache/libphp4.so) || exists(${LOCALBASE}/libexec/apache2/libphp4.so) HAVE_PHP_MOD= yes HAVE_PHP= yes -PHP_PORT= ${PORTSDIR}/www/mod_php4 +PHP_PORT?= ${PORTSDIR}/www/mod_php4 .endif .if defined(HAVE_PHP_CLI) && defined(HAVE_PHP_MOD) -PHP_PORT= ${PORTSDIR}/lang/php4 +PHP_PORT?= ${PORTSDIR}/lang/php4 .endif .if defined(WANT_PHP_CGI) && (defined(WANT_PHP_CLI) || defined(WANT_PHP_MOD)) @@ -52,9 +52,9 @@ .if defined(WANT_PHP_WEB) .if defined(HAVE_PHP) && !defined(HAVE_PHP_CGI) && !defined(HAVE_PHP_MOD) .BEGIN: - @${ECHO_CMD} "This port requires the Apache Module or the CGI version of PHP, but you have" - @${ECHO_CMD} "already installed a conflicting PHP port without them." - @${FALSE} + @${ECHO_CMD} "This port requires the Apache Module or the CGI version of PHP, but you have" + @${ECHO_CMD} "already installed a conflicting PHP port without them." + @${FALSE} .else PHP_PORT?= ${PORTSDIR}/www/mod_php4 .endif >Release-Note: >Audit-Trail: >Unformatted: