From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 11 12:20:01 2009 Return-Path: Delivered-To: freebsd-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 A1183106567A for ; Thu, 11 Jun 2009 12:20:01 +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 623E48FC1E for ; Thu, 11 Jun 2009 12:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5BCK1Ob053643 for ; Thu, 11 Jun 2009 12:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5BCK1dg053642; Thu, 11 Jun 2009 12:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 11 Jun 2009 12:20:01 GMT Resent-Message-Id: <200906111220.n5BCK1dg053642@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Kriventsov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 809A71065673 for ; Thu, 11 Jun 2009 12:12:16 +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 6EDB48FC1E for ; Thu, 11 Jun 2009 12:12:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5BCCFbi096161 for ; Thu, 11 Jun 2009 12:12:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5BCCFCx096160; Thu, 11 Jun 2009 12:12:15 GMT (envelope-from nobody) Message-Id: <200906111212.n5BCCFCx096160@www.freebsd.org> Date: Thu, 11 Jun 2009 12:12:15 GMT From: Alexander Kriventsov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/135473: add possibility to redefine PHP_PORT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 12:20:02 -0000 >Number: 135473 >Category: misc >Synopsis: add possibility to redefine PHP_PORT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 11 12:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander Kriventsov >Release: FreeBSD 7.2 >Organization: .masterhost >Environment: FreeBSD dstest1.akriventsov.dev.masterhost.ru 7.2-i386-20090314-RELENG_7 FreeBSD 7.2-i386-20090314-RELENG_7 #0: Sat Mar 14 08:25:52 UTC 2009 root@svc12.masterhost.ru:/usr/obj/usr/src/sys/GENERICDEBUG i386 >Description: This patch to add possibility to redefine PHP_PORT. In our projects we need to create slave port of original lang/php5 with some extra patches. At this moment I can't redefine php port, and have some broken deps. For example: I installed php-mysql and it has dep of lang/php5, but php5 I built from another port. >How-To-Repeat: >Fix: Patch attached with submission follows: --- /usr/ports/Mk/bsd.php.mk.orig 2009-06-11 11:48:03.000000000 +0000 +++ /usr/ports/Mk/bsd.php.mk 2009-06-11 12:04:49.000000000 +0000 @@ -136,7 +136,7 @@ .endif -PHP_PORT= ${PORTSDIR}/lang/php${PHP_VER} +PHP_PORT?= ${PORTSDIR}/lang/php${PHP_VER} .if defined(USE_PHP_BUILD) BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} >Release-Note: >Audit-Trail: >Unformatted: