From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 9 12:20:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F138C1065692 for ; Mon, 9 Nov 2009 12:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B563C8FC14 for ; Mon, 9 Nov 2009 12:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9CK3Rv044995 for ; Mon, 9 Nov 2009 12:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA9CK3iw044994; Mon, 9 Nov 2009 12:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 9 Nov 2009 12:20:03 GMT Resent-Message-Id: <200911091220.nA9CK3iw044994@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, Dmitry Krikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BD1E1065693 for ; Mon, 9 Nov 2009 12:13:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7798FC1B for ; Mon, 9 Nov 2009 12:13:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9CDs0Y004596 for ; Mon, 9 Nov 2009 12:13:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA9CDsbr004595; Mon, 9 Nov 2009 12:13:54 GMT (envelope-from nobody) Message-Id: <200911091213.nA9CDsbr004595@www.freebsd.org> Date: Mon, 9 Nov 2009 12:13:54 GMT From: Dmitry Krikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140412: PHP_PORT overriding required X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 12:20:04 -0000 >Number: 140412 >Category: ports >Synopsis: PHP_PORT overriding required >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 09 12:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Krikov >Release: 7.2 >Organization: .masterhost >Environment: >Description: We need to override PHP_PORT variable to use our own php port. Now we have in ports/Mk/bsd.php.mk: $ grep PHP_PORT * bsd.php.mk:PHP_PORT= ${PORTSDIR}/lang/php${PHP_VER} bsd.php.mk:BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} bsd.php.mk:RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} bsd.php.mk:BUILD_DEPENDS+= ${PHPBASE}/bin/phpize:${PHP_PORT} But we have one interesting thing with apache, for example: APACHE_PORT?= www/apache20 Can you make the possibility to override the PHP_PORT? For example, with the change like this (needs to be verified): PHP_PORT?= lang/php${PHP_VER} BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PORTSDIR}/${PHP_PORT} RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PORTSDIR}/${PHP_PORT} BUILD_DEPENDS+= ${PHPBASE}/bin/phpize:${PORTSDIR}/${PHP_PORT} Thanks a lot! >How-To-Repeat: >Fix: See the full description >Release-Note: >Audit-Trail: >Unformatted: