From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 06:59:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506E237B401 for ; Fri, 20 Jun 2003 06:59:28 -0700 (PDT) Received: from mta01-srv.alltel.net (mta01.alltel.net [166.102.165.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F52443F93 for ; Fri, 20 Jun 2003 06:59:27 -0700 (PDT) (envelope-from gehicks@alltel.net) Received: from alltel.net ([69.40.21.230]) by mta01-srv.alltel.net with ESMTP id <20030620135927.TMLN5730.mta01-srv.alltel.net@alltel.net>; Fri, 20 Jun 2003 08:59:27 -0500 Date: Fri, 20 Jun 2003 09:59:25 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: "Aaron Wohl" From: Jerry Hicks In-Reply-To: <20030620135324.66B8933306@www.fastmail.fm> Message-Id: <66E528C4-A327-11D7-9B09-0030657B5F1E@alltel.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-questions@freebsd.org Subject: Re: local patch to a /usr/ports file? how to do it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 13:59:28 -0000 If you don't need to do it much just build like this: make patch make install clean If it's something you're doing very frequently you can poke around the ports tree and you should be able to find a few examples of ports which conditionally include a patch based on a make parameter the user passes in. Cheers, Jerry Hicks gehicks@alltel.net On Friday, June 20, 2003, at 09:53 AM, Aaron Wohl wrote: > I have a patch to /usr/ports/misc/amanda-clients. Its a one line > change > to sendbackup-dump.c to add the L switch to snapshot for 5.x when > making > a dump. Where do I put the patch so when I do make in > /usr/ports/misc/amanda-clients it gets applied? I checked the handbook > and porters guide... I dont see how to have a local change. > > The patch im using isnt that great to submit... it just forces L on > dump. > It doesnt let amanda control when to use L or not. Im just using this > till something more real comes along. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >