From owner-freebsd-ports@FreeBSD.ORG Tue Apr 4 08:23:42 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D66516A425 for ; Tue, 4 Apr 2006 08:23:42 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from leia.fdn.fr (ns0.fdn.org [80.67.169.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9404443D46 for ; Tue, 4 Apr 2006 08:23:40 +0000 (GMT) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (reverse-25.fdn.fr [80.67.176.25]) by leia.fdn.fr (8.13.3/8.13.3/FDN) with ESMTP id k348NdI6023111 for ; Tue, 4 Apr 2006 10:23:40 +0200 Received: by smtp.zeninc.net (smtpd, from userid 1000) id 8DFC13F17; Tue, 4 Apr 2006 10:23:34 +0200 (CEST) Date: Tue, 4 Apr 2006 10:23:34 +0200 From: VANHULLEBUS Yvan To: freebsd-ports@freebsd.org Message-ID: <20060404082334.GA30746@zen.inc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. Subject: Re: How to modify port source code before 'make' ? 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: Tue, 04 Apr 2006 08:23:42 -0000 On Tue, Apr 04, 2006 at 06:07:47PM +1000, Adrian wrote: > Hi, > > I'm trying to install a port.. I know a little and can > make the changes I need to but when I 'make' it > refetches the file from /usr/ports/distfiles > and scraps the changes I've made! > > I've tried updating the dist file and putting it back in > that directory but it seems to perform a hash check > on it! > > Is there a standard way to do this? portdir/files is a directory where you can add your patches to port's ones. All those patches will be applied just after distfile extraction. Yvan. -- NETASQ - Secure Internet Connectivity http://www.netasq.com