Date: Fri, 5 May 2006 18:06:36 +0400 (MSD) From: Dmitriy Kirhlarov <dkirhlarov@oilspace.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/96826: [PATCH] PHP port need apache port with specific options Message-ID: <200605051406.k45E6aAQ004667@dimma.mow.oilspace.com> Resent-Message-ID: <200605051410.k45EAGUU078830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96826 >Category: ports >Synopsis: [PATCH] PHP port need apache port with specific options >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 05 14:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitriy Kirhlarov >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD dimma.mow.oilspace.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Sep 25 23:26:13 MSD 2005 root@dimma.mow.oilspace.com:/usr/obj/usr/src/sys/dimma i386 >Description: PHP port use sbin/apxs from apache port. Whis file installed only if apache builded with WITH_MISC_MODULES options (not default) >How-To-Repeat: try build PHP5 without installed apache >Fix: --- bsd.php.mk.orig Sat Apr 22 10:16:46 2006 +++ bsd.php.mk Sat Apr 22 12:50:37 2006 @@ -52,9 +52,16 @@ APACHE_VERSION!= ${HTTPD} -V | ${SED} -ne 's/^Server version: Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p' . if ${APACHE_VERSION} > 13 APXS?= ${LOCALBASE}/sbin/apxs +. if exists(${APXS}) APACHE_MPM!= ${APXS} -q MPM_NAME -. if ${APACHE_MPM} == "worker" +. if ${APACHE_MPM} == "worker" PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts +. endif +. else + @{ECHO_CMD} "Can't find ${LOCALASE}/sbin/apxs + @{ECHO_CMD} "${APACHE_PORT} must be compiled with WITH_MISC_MODULES=yes" + @{FALSE} + . endif . endif .elif defined(APACHE_PORT) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605051406.k45E6aAQ004667>