From owner-freebsd-ports@FreeBSD.ORG Tue Apr 1 18:45:47 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A4C937B401 for ; Tue, 1 Apr 2003 18:45:47 -0800 (PST) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FDFE43F85 for ; Tue, 1 Apr 2003 18:45:41 -0800 (PST) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with ESMTP id JAA10042 for ; Wed, 2 Apr 2003 09:44:42 +0700 (ICT) Message-Id: <5.2.0.9.0.20030402094202.00a0b9c0@127.0.0.1> X-Sender: stjohn.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 02 Apr 2003 09:45:36 +0700 To: freebsd-ports@freebsd.org From: Roger Merritt In-Reply-To: <20030401113134.GA34673@falcon.midgard.homeip.net> References: <20030401141338.1875bfe6.dan.naumov@ofw.fi> <20030401141338.1875bfe6.dan.naumov@ofw.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Setting make options permanently (WITHOUT_GNOME, etc) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 02:45:47 -0000 At 06:31 PM 4/1/03, Erik Trulsson wrote: >On Tue, Apr 01, 2003 at 02:13:38PM +0300, Dan Naumov wrote: > > Hello > > > > I've been wondering whether it is possible to make make (pardon the > > wording) always use specific options. For example, I see that many ports > > allow the user to set WITHOUT_GNOME or WITHOUT_X prior to building the > > port. > > > > 1) Is there a definite list of these variables ? > >No. > > > 2) Is it possible to somehow permanently set some of those variables so > > that I wouldn't have to do that manually every time I want to update a > > port ? > >Add them to /etc/make.conf Another good way is to set them in /usr/local/etc/pkgtools.conf, if you use 'portupgrade'. That way you can set them for only the ports they apply to. > > > > I've checked /usr/share/examples/etc/make.conf and The HandBook, but > > neither had any information on setting things like this up. Any ideas ? man portupgrade (if you have it installed -- if not, consider installing it). -- Roger