cvs commit: ports/mail/postfix-gps Makefile

Xin LI delphij at frontfree.net
Sat Jan 1 23:08:22 PST 2005


Hi, Kris,

On Sat, Jan 01, 2005 at 10:59:52PM -0800, Kris Kennaway wrote:
> > Hi, Kris,
> > 
> > Would you please give me the broken log?
> 
> Check http://pointyhat.freebsd.org
> 
> > I thought that the libdbi-drivers
> > 0.7.1_2 has worked around this issue, or having OPTIONS default to ``on''
> > does not work in package build environment?
> 
> The latter (this is a lot of work to fix; krion tried recently but I
> think he gave up).  You need to make the port use that switch by
> default when OPTIONS is not read, e.g.
> 
> OPTIONS=foo on
> 
> # Check if the user changed the default to off
> .if !defined(WITHOUT_FOO)
> ...
> .endif

I think a better way is to have bsd.port.mk to set WITH_FOO or WITHOUT_FOO
according to the defaults set in individual ports' Makefile.  It seems that
bsd.port.mk will ignore OPTIONS when doing package builds.

Maybe we can have some knobs like USE_DEFAULT_OPTIONS and give a grace
``skip config and go ahead building using default options''? 

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- 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/cvs-ports/attachments/20050102/ade45687/attachment.bin


More information about the cvs-ports mailing list