ports/140412: PHP_PORT overriding required
Dmitry Krikov
unknown at masterhost.ru
Mon Nov 9 12:20:04 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list