From owner-freebsd-ports@FreeBSD.ORG Sat Jan 20 05:14:44 2007 Return-Path: X-Original-To: freeBSD-ports@freebsd.org Delivered-To: freeBSD-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59D5016A400 for ; Sat, 20 Jan 2007 05:14:44 +0000 (UTC) (envelope-from phoffman@proper.com) Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2164213C45E for ; Sat, 20 Jan 2007 05:14:44 +0000 (UTC) (envelope-from phoffman@proper.com) Received: from [10.20.30.108] (dsl-63-249-108-169.cruzio.com [63.249.108.169]) (authenticated bits=0) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l0K5Eg4K012172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Jan 2007 22:14:43 -0700 (MST) (envelope-from phoffman@proper.com) Mime-Version: 1.0 Message-Id: Date: Fri, 19 Jan 2007 21:14:35 -0800 To: freeBSD-ports@freebsd.org From: Paul Hoffman Content-Type: text/plain; charset="us-ascii" ; format="flowed" Cc: Subject: Modifying a port and keeping the mods across updates X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 05:14:44 -0000 Greetings again. I have a two-part question that may be a ports FAQ, but I couldn't find such a beast. (1) For a particular port, I need to change the the MAKE_ENV to make it build the way I want. What is the proper way to do this that will live beyond the next time I do a cvsup? That is, editing the Makefile works just fine, but I want something that will live if the Makefile gets reverted. (2) For a particular port, I need to patch a particular source file. This is a patch that will probably be in a future release. Same question as above: what's the proper way to do this that will live beyond the next cvsup? I know how to use 'patch' to apply patches, but not yet to create them. --Paul Hoffman