Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2005 15:08:00 +0800
From:      Xin LI <delphij@frontfree.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/mail/postfix-gps Makefile
Message-ID:  <20050102070800.GA106@frontfree.net>
In-Reply-To: <20050102065949.GB6250@xor.obsecurity.org>
References:  <200501020116.j021GBqD070105@repoman.freebsd.org> <20050102064857.GA4047@frontfree.net> <20050102065949.GB6250@xor.obsecurity.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB153Q/cVsHxFZiIoRApRWAJ9/Hce1FFo3WBZBsb1hTnwkdmIeIQCeLtMv
vvj78j0u+GARqKuNcovWP/8=
=8hPx
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102070800.GA106>