Page MenuHomeFreeBSD

Testing flavors with PHP modules
Needs RevisionPublic

Authored by daniel_blodan.se on Sep 29 2017, 1:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 22, 3:47 AM
Unknown Object (File)
Thu, Aug 20, 3:40 AM
Unknown Object (File)
Aug 7 2026, 1:24 PM
Unknown Object (File)
Aug 7 2026, 1:24 PM
Unknown Object (File)
Aug 4 2026, 1:57 AM
Unknown Object (File)
Aug 3 2026, 8:21 AM
Unknown Object (File)
Jul 31 2026, 12:04 AM
Unknown Object (File)
Jul 22 2026, 10:07 PM
Subscribers
None

Details

Reviewers
bapt
mat
bdrewery
Summary

I know flavors isn't production ready yet, but I'm just giving it a whirl to find any issues.

Would this be the correct way of implementing flavors for php modules?

The only two issues I am getting are these:

  • make config options does not get stored

ie, when i run make FLAVOR=70 I'm getting prompted about the make config everytime even though I already configured the port and that particular flavor

  • The prefix doesn't seem to get applied, running make clean after building all 3 flavors yields this output:
===>  Cleaning for pecl-redis-3.1.4
===>  Cleaning for pecl-redis-3.1.4
===>  Cleaning for pecl-redis-3.1.4

As if all 3 flavors are named the same thing

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bapt requested changes to this revision.Oct 5 2017, 3:00 PM

except that one is not allowed to play with DEFAULT_VERSION, this particular case of pecl should lead to work in MK/Uses/php.mk as well.

DEFAULT_VERSIONS is something that should only be for end users.

The approach is the right one

This revision now requires changes to proceed.Oct 5 2017, 3:00 PM