Date: Thu, 11 Jun 2009 12:29:28 GMT From: Alexander Kriventsov <avk@vl.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135474: [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP_PORT Message-ID: <200906111229.n5BCTSoV009554@www.freebsd.org> Resent-Message-ID: <200906111230.n5BCU1hj060644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135474 >Category: ports >Synopsis: [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP_PORT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jun 11 12:30: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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906111229.n5BCTSoV009554>