Bug 140412

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   

Description Dmitry Krikov 2009-11-09 12:20:03 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-09 20:39:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

bsd.php.mk is ale territory (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-04-09 10:42:07 UTC
State Changed
From-To: open->closed

Committed.