[Bug 224409] Support multiple php version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 14 13:00:28 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224409

--- Comment #5 from Mathieu Arnold <mat at FreeBSD.org> ---
To be clear, like Guido says, I am working on FLAVORS for php, something that
makes it so that for example, a PHP extension, a PEAR library, or a PHP
application can have multiple packages, each built with a different version of
PHP.

For example, right now all those depend on the default PHP version:

$ make -C devel/pecl-event pretty-flavors-package-names
no flavor: pecl-event-2.3.0
$ make -C devel/pear-Horde_Cache pretty-flavors-package-names
no flavor: pear-Horde_Cache-2.5.5

With flavors, a separate package is built:

$ make -C devel/pecl-event pretty-flavors-package-names
php56: php56-pecl-event-2.3.0
php70: php70-pecl-event-2.3.0
php71: php71-pecl-event-2.3.0
php72: php72-pecl-event-2.3.0
$ make -C devel/pear-Horde_Cache pretty-flavors-package-names
php56: php56-pear-horde-Horde_Cache-2.5.5
php70: php70-pear-horde-Horde_Cache-2.5.5
php71: php71-pear-horde-Horde_Cache-2.5.5
php72: php72-pear-horde-Horde_Cache-2.5.5

It definitively does not mean those can be installed at the same time.
It means that whatever the PHP version you need, there is a package available.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list