Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 12:03:05 -0700
From:      Jeremy Lea <reg@FreeBSD.ORG>
To:        Shigeyuki Fukushima <shige@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG, asami@cs.berkeley.edu
Subject:   Re: Proposal for USE_* directives in Mk/bsd.port.mk
Message-ID:  <20000430120305.C309@shale.csir.co.za>
In-Reply-To: <20000430181355835.KOJS.890.t-mta4.odn.ne.jp@mta4.odn.ne.jp>; from shige@FreeBSD.ORG on Mon, May 01, 2000 at 03:13:50AM %2B0900
References:  <20000430161123149.IASO.904.t-mta2.odn.ne.jp@mta2.odn.ne.jp> <20000430105058.B309@shale.csir.co.za> <20000430181355835.KOJS.890.t-mta4.odn.ne.jp@mta4.odn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, May 01, 2000 at 03:13:50AM +0900, Shigeyuki Fukushima wrote:
> For example, at building www/lynx-current.
> www/lynx-current port uses bzip2 defaultly (USE_BZIP2=YES).
> 
> # In advance, change from USE_BZIP2=YES to USE_BZIP2?=YES in
> # Makefile. :)
> If someone does not want to use bzip2, he do the following:
> 
>    root# cd /usr/ports/www/lynx-current
>    root# make USE_BZIP2=NO install
> 
> But, now, this does not work well.
> 
> Other USE_* directives as well as this, too, I think...
> 
> That is, we cannot deny defaultly set USE_* even if we set USE_*=NO.
> I worry about this thing...

USE_* are not user options, and should *never* be set from the command
line.  WITH_* and WITHOUT_* are user options.  If you want the port to
do this (I don't think it is useful - are you going to support two MD5's?):

.if !defined(WITHOUT_BZIP2)
USE_BZIP2=	yes
.endif

is the right way to go.

Regards,
 -Jeremy

-- 
FreeBSD - Because the best things in life are free...
                                           http://www.freebsd.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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