On 26 Aug 2009, at 04:36, David Taveras wrote:
a.) Iam confused with subpackages and flavors. Which method should
apply to
accomplish what I want?
If its the flavors then.. Iam expected to feed it the packages I
dont want ?
Like:
env FLAVOR="-dba -dbase -imap -ldap -mhash -ncurses -odbc -pdo_pqsql
-pdo_sqlite -pqsql -pspell -sqlite -sybase_ct -xsl" make package
It's easiest to use binary packages if you possibly can -- the multi-
package system is designed to build a bunch of independent binary
packages with separate dependencies, but it's often hard to build them
piecemeal form scratch.
In the case of PHP, they use 'pseudo flavors' as well so you can do,
e.g. "env FLAVOR="no_imap no_mysql" as required to avoid building
those packages. Quite fiddly, but the system is biased towards making
binary packages easiest to use.
b.) What is the use of the "informational package" php5-extensions?
Wow, that commit was 7 years ago now... I created that dummy package
initially to store some of the extension activation scripts, but they
just got merged into php-core and it is now just an information
message for users that type in 'make install'.
It initially installed gd by default but that was a bit arbitrary and
confusing; got a lot of questions from people that wondered why they
only had one extension installed...
-anil