From owner-freebsd-ports Sun Apr 30 12: 3:34 2000 Delivered-To: freebsd-ports@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id C81A037BC41; Sun, 30 Apr 2000 12:03:28 -0700 (PDT) (envelope-from reg@shale.csir.co.za) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id VAA48722; Sun, 30 Apr 2000 21:03:13 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.9.3/8.9.3) id MAA56652; Sun, 30 Apr 2000 12:03:05 -0700 (PDT) (envelope-from reg) Date: Sun, 30 Apr 2000 12:03:05 -0700 From: Jeremy Lea To: Shigeyuki Fukushima 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> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 +0900 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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