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)
Dec 30 2023, 10:34 AM
Unknown Object (File)
Dec 22 2023, 11:55 PM
Unknown Object (File)
Dec 13 2023, 6:16 AM
Unknown Object (File)
Aug 15 2023, 5:06 AM
Unknown Object (File)
Jun 30 2023, 4:38 AM
Unknown Object (File)
Jun 29 2023, 3:47 AM
Unknown Object (File)
May 31 2023, 9:17 AM
Unknown Object (File)
Mar 7 2023, 12:25 AM
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