From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 15:22:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BBAA1065678 for ; Wed, 11 Jun 2008 15:22:53 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5197B8FC1F for ; Wed, 11 Jun 2008 15:22:53 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1K6S9w-0001tw-64 for freebsd-questions@freebsd.org; Wed, 11 Jun 2008 16:22:52 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1K6S9v-0003IB-Ng for freebsd-questions@freebsd.org; Wed, 11 Jun 2008 16:22:47 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m5BFMlnE024423 for ; Wed, 11 Jun 2008 16:22:47 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m5BFMluQ024422 for freebsd-questions@freebsd.org; Wed, 11 Jun 2008 16:22:47 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 11 Jun 2008 16:22:47 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20080611152247.GA24393@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org References: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Subject: Re: prevent overwriting custom make options in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 15:22:53 -0000 On Mon, Jun 09, 2008 at 03:33:01PM +0100, Anton Shterenlikht wrote: > I use ports/lang/gcc42. > I set WITHOUT_JAVA=yes in the Makefile. > However, with each tree update this option is > overwritten, so I have to edit the Makefile > each time I update the port. > > What is the best way to preserve my custom setting, > add an environment variable? Roland, Tijl, many thanks Somehow I missed you answers in the mailing list, only now picked them on google groups. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423