Bug 149820

Summary: bsd.php.mk should allow version override when PHP is installed
Product: Ports & Packages Reporter: ben
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ben 2010-08-20 02:50:01 UTC
Currently there is no way to override the value of PHP_VER on a system that already has PHP installed.

Fix: Apply the attached patch to bsd.php.mk, which allows the user to define IGNORE_PHP_CONF and skip the inclusion of /usr/local/etc/php.conf.

This can be used to achieve an effect similar to defining a distinct PERL_VERSION in /etc/make.conf from the installed version of Perl.

Patch attached with submission follows:
How-To-Repeat: Define a distinct value of PHP_VER in /etc/make.conf from the PHP_VER set in /usr/local/etc/php.conf.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-20 02:50:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

bsd.php.mk is ale territory (via the GNATS Auto Assign Tool)
Comment 2 ben 2010-08-20 05:38:33 UTC
This is a multi-part message in MIME format.
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2010-08-24 10:39:50 UTC
State Changed
From-To: open->feedback

Why should be overridable? You can use different PHPBASE for different PHP versions.
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2010-08-31 15:40:09 UTC
State Changed
From-To: feedback->closed

No feedback provided, probably not needed anymore.