Date: Sat, 15 Nov 2003 12:23:22 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59300: lang/php4 errors, and PHP_PORT Message-ID: <200311151123.hAFBNM21039700@home.dinoex.sub.de> Resent-Message-ID: <200311151130.hAFBUMUq060396@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311151123.hAFBNM21039700>