From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 5 14:10:17 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 1508E16A400 for ; Fri, 5 May 2006 14:10:17 +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 767DF43D46 for ; Fri, 5 May 2006 14:10:16 +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 k45EAGKw078835 for ; Fri, 5 May 2006 14:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k45EAGUU078830; Fri, 5 May 2006 14:10:16 GMT (envelope-from gnats) Resent-Date: Fri, 5 May 2006 14:10:16 GMT Resent-Message-Id: <200605051410.k45EAGUU078830@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, Dmitriy Kirhlarov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CB5716A401 for ; Fri, 5 May 2006 14:06:40 +0000 (UTC) (envelope-from dkirhlarov@oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9478D43D45 for ; Fri, 5 May 2006 14:06:39 +0000 (GMT) (envelope-from dkirhlarov@oilspace.com) Received: from dimma.mow.oilspace.com (hq.oilspace.com [81.222.156.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id 59FD5136CF3 for ; Fri, 5 May 2006 15:06:37 +0100 (BST) Received: from dimma.mow.oilspace.com (localhost [127.0.0.1]) by dimma.mow.oilspace.com (8.13.4/8.13.3) with ESMTP id k45E6aml004668 for ; Fri, 5 May 2006 18:06:36 +0400 (MSD) (envelope-from dkirhlarov@localhost.oilspace.com) Received: (from dkirhlarov@localhost) by dimma.mow.oilspace.com (8.13.4/8.13.3/Submit) id k45E6aAQ004667; Fri, 5 May 2006 18:06:36 +0400 (MSD) (envelope-from dkirhlarov) Message-Id: <200605051406.k45E6aAQ004667@dimma.mow.oilspace.com> Date: Fri, 5 May 2006 18:06:36 +0400 (MSD) From: Dmitriy Kirhlarov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/96826: [PATCH] PHP port need apache port with specific options X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitriy Kirhlarov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 14:10:17 -0000 >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: