From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 14:33:10 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 48F761065670 for ; Mon, 9 Jun 2008 14:33:10 +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 067FA8FC20 for ; Mon, 9 Jun 2008 14:33:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1K5iQh-00051W-VO for freebsd-questions@freebsd.org; Mon, 09 Jun 2008 15:33:09 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1K5iQf-0004Xu-Rv for freebsd-questions@freebsd.org; Mon, 09 Jun 2008 15:33:02 +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 m59EX1gt037537 for ; Mon, 9 Jun 2008 15:33:01 +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 m59EX1QH037536 for freebsd-questions@freebsd.org; Mon, 9 Jun 2008 15:33:01 +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: Mon, 9 Jun 2008 15:33:01 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20080609143300.GA37436@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Subject: 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 14:33:10 -0000 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? many thanks anton -- 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