Port WITH_* options and updates/portupgrade

Oliver Braun obraun at unsane.org
Sun Aug 17 11:08:28 PDT 2003


* Matthias Andree <ma at dt.e-technik.uni-dortmund.de> [2003-08-17 19:49 +0200]:
> there is an issue that has been bothering me for a long time.

> There are quite a few ports that allow me to configure options. Some
> ports use the command line, others use the dialog utility.

> I do have concerns with portupgrade though: Whenever I do a batch build
> of Postfix, it lacks SASL2 support (that I need to enable manually).

> Is there any chance that port options used in a build, regardless of
> WITH_* options or dialog settings, could be stored so that portupgrade
> or even a stock "make clean ; make" can find and use these options?

> There could be a "make cleanopts" to return to defaults.

> Or is there already a good way that I'm unaware of?

Take a look at the MAKE_ARGS hash in $PREFIX/etc/pkgtools.conf.

You can use things like

    MAKE_ARGS['mail/postfix']='BATCH=yes POSTFIX_OPTIONS=\"SASL2\"'

there.

Regards,
         Olli
-- 
Oliver Braun -- obraun @ { unsane.org | FreeBSD.org | haskell.org }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030817/a135d64c/attachment.bin


More information about the freebsd-ports mailing list