Date: Mon, 9 Nov 2009 12:13:54 GMT From: Dmitry Krikov <unknown@masterhost.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140412: PHP_PORT overriding required Message-ID: <200911091213.nA9CDsbr004595@www.freebsd.org> Resent-Message-ID: <200911091220.nA9CK3iw044994@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911091213.nA9CDsbr004595>