On 2008-07-12, Juan Miscaro <[EMAIL PROTECTED]> wrote: > Hi, I have a script that I use to automate server installations. > Every time I come to the point of installing a port with a certain > flavor: > > postfix with sasl2/mysql > > I can never get it to work. > > I thought I had it working before by putting in the Makefile: > > FLAVORS= sasl2 mysql > > but this is ignored. > > Putting the following in the script also barfs: > > env FLAVOR="sasl2 mysql" > > What am I missing? > > /juan > >
Why not just provide a local package repository with things like this ready-built? Then you can point PKG_PATH at it and upgrade them easily in the future too. You can use SUBDIRLIST to build a list of ports with certain flavours. See /usr/ports/infrastructure/plist for example lists.

