From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 23:10:20 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 6CF58106566C for ; Mon, 9 Jun 2008 23:10:20 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavuit02.kulnet.kuleuven.be (cavuit02.kulnet.kuleuven.be [134.58.240.44]) by mx1.freebsd.org (Postfix) with ESMTP id 27C7D8FC16 for ; Mon, 9 Jun 2008 23:10:20 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from smtps02.kuleuven.be (smtpshost02.kulnet.kuleuven.be [134.58.240.75]) by cavuit02.kulnet.kuleuven.be (Postfix) with ESMTP id 54CDF51C002; Tue, 10 Jun 2008 01:10:13 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps02.kuleuven.be (Postfix) with ESMTP id 088AAF3862; Tue, 10 Jun 2008 01:10:13 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.2/8.14.2) with ESMTP id m59NACXU009774; Tue, 10 Jun 2008 01:10:12 +0200 (CEST) (envelope-from tijl@ulyssis.org) X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Tijl Coosemans To: freebsd-questions@freebsd.org, Anton Shterenlikht Date: Tue, 10 Jun 2008 01:10:10 +0200 User-Agent: KMail/1.9.7 References: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk> In-Reply-To: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806100110.12056.tijl@ulyssis.org> X-KULeuven-Information: Katholieke Universiteit Leuven X-KULeuven-Scanned: Found to be clean X-Spam-Status: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=disabled, KUL_SMTPS -50.00) X-KULeuven-Envelope-From: tijl@ulyssis.org Cc: 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: Mon, 09 Jun 2008 23:10:20 -0000 On Monday 09 June 2008 16:33:01 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? I use port-mgmt/portconf for that. It allows to set port options in /usr/local/etc/ports.conf like: lang/gcc42: WITHOUT_JAVA