From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 22:50:43 2003 Return-Path: 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 42A9237B404 for ; Wed, 9 Apr 2003 22:50:43 -0700 (PDT) Received: from svmarshal.bytecraft.au.com (svmarshal.bytecraft.au.com [203.39.118.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B94F43FE3 for ; Wed, 9 Apr 2003 22:50:36 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[203.39.118.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Thu, 10 Apr 2003 15:51:53 +1000 Received: from mjtdev1.dand06.au.bytecraft.au.com (unknown [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id 4D7E13E42; Thu, 10 Apr 2003 15:50:25 +1000 (EST) From: Murray Taylor Organization: Bytecraft Systems To: Adam , freebsd-questions@freebsd.org Date: Thu, 10 Apr 2003 15:50:24 +1000 User-Agent: KMail/1.5 References: <1049950760.64457.53.camel@jake> In-Reply-To: <1049950760.64457.53.camel@jake> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304101550.24865.murraytaylor@bytecraftsystems.com> Subject: Re: How to define variables when using portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 05:50:43 -0000 Try putting such site wide stuff in /etc/make.conf This is checked by make as well as the /etc/defaults/make.conf (which you should _NOT_ touch) cheers mjt On Thu, 10 Apr 2003 14:59, Adam wrote: > When compiling a port for the first time, you can define variables for > the Makefile easily: > make -DWITH_GMP install clean > > However, I'm not sure how to define the same variable when using > portupgrade. Is it possible? I am currently manually deinstalling and > recompiling ports whenever I need to customize the compile process. > > Is there a better way? > > Thanks, -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************