From owner-freebsd-questions Thu Oct 31 13:18:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 681BE37B404 for ; Thu, 31 Oct 2002 13:18:49 -0800 (PST) Received: from dsl-64-128-185-9.telocity.com (dsl-64-128-185-9.telocity.com [64.128.185.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2849843E42 for ; Thu, 31 Oct 2002 13:18:38 -0800 (PST) (envelope-from mjoyner2@hq.dyns.cx) Received: (from root@localhost) by dsl-64-128-185-9.telocity.com (8.12.6/8.11.5) id g9VLGcrL026376; Thu, 31 Oct 2002 16:16:38 -0500 (EST) (envelope-from mjoyner2@hq.dyns.cx) Received: from imp.hq.dyns.cx (www@dsl-64-128-185-9.telocity.com [64.128.185.9]) by dsl-64-128-185-9.telocity.com (8.12.6/8.11.5av) with ESMTP id g9VLGZ3K026367; Thu, 31 Oct 2002 16:16:36 -0500 (EST) (envelope-from mjoyner2@hq.dyns.cx) Received: (from www@localhost) by imp.hq.dyns.cx (8.12.6/8.12.6/Submit) id g9VLGYZ3026362; Thu, 31 Oct 2002 16:16:34 -0500 (EST) X-Authentication-Warning: imp.hq.dyns.cx: www set sender to mjoyner2@hq.dyns.cx using -f Received: from 64.128.185.9 ( [64.128.185.9]) as user mjoyner2@localhost by imp.hq.dyns.cx with HTTP; Thu, 31 Oct 2002 16:16:33 -0500 Message-ID: <1036098993.3dc19db17f2a7@imp.hq.dyns.cx> Date: Thu, 31 Oct 2002 16:16:33 -0500 From: Michael Joyner To: Soren Harward Cc: freebsd-questions@freebsd.org Subject: Re: changing build options for ports References: <20021031211337.GA24478@tmmc.dyndns.org> In-Reply-To: <20021031211337.GA24478@tmmc.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.7 X-Originating-IP: 64.128.185.9 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG you can usually set compile time options in the environment before invoking make i.e. export WITHOUT_X11=true make Quoting Soren Harward : > I was trying to build VIM on my webserver, and it started to build the X > version, downloading all the X libraries, etc. This is a lights out > machine, so I didn't want X on it, so I killed the build. I eventually > figured out that by putting: > > WITHOUT_X11=1 > > somewhere near the beginning of my Makefile, I could force it to build > w/o X11 support. With my new-found power, I began to tweak other > build-time configuration options with other ports. But then I thought, > "you know, theres gotta be a better way to set these options than > editing the Makefile". What is the "best common practice" to set > these options? > > -- > Soren Harward > soren@byu.edu > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD System Administrator http://manhattan.hq.dyns.cx/ ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message