On 2009/08/25 22:36, David Taveras wrote: > Hello, > > In the past I have compiled the php5-extensions from stable by simply doing: > > cd /usr/ports/www/php5/extensions; make; make install > > Then, once the packages where generated using pkg_add to install the package > from /usr/ports/packages/i386/all/ > > However, i noticed that before I actually did this final step the make was > actually installing the dependancies of every single extensions (lots of > them). > > Leads to want to install only the following extensions: > > php5-bz2 php5-curl php5-gd php5-gmp php5-mbstring php5-mcrypt php5-mhash > php5-mysql php5-shmop > > > Questions: > > a.) Iam confused with subpackages and flavors. Which method should apply to > accomplish what I want?
In this port pseudo-flavours control which subpackages get built so you can reduce the number of build dep's. > 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 "make show=FLAVORS", and pick the ones you want. FLAVOR="no_dba no_dbase <...>" > b.) What is the use of the "informational package" php5-extensions? one possible use: we have to choose some subpackage that gets installed when you do "make install" from ports, and it doesn't seem right to use one of the various individual extensions...