| Summary: | Mk/bsd.php.mk: PHP_PORT overriding required | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dmitry Krikov <unknown> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ale bsd.php.mk is ale territory (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Committed. |
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! Fix: See the full description