From owner-freebsd-ports@FreeBSD.ORG Sat Apr 9 23:48:08 2005 Return-Path: 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 EDA3016A4CE for ; Sat, 9 Apr 2005 23:48:08 +0000 (GMT) Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B8C43D2D for ; Sat, 9 Apr 2005 23:48:08 +0000 (GMT) (envelope-from alex@varju.ca) Received: from pd5mr8so.prod.shaw.ca (pd5mr8so-qfe3.prod.shaw.ca [10.0.141.184]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IEP00M5RE4006ED@l-daemon> for freebsd-ports@freebsd.org; Sat, 09 Apr 2005 17:48:00 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd5mr8so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IEP00GAPE404T40@pd5mr8so.prod.shaw.ca> for freebsd-ports@freebsd.org; Sat, 09 Apr 2005 17:48:00 -0600 (MDT) Received: from alex.varju.ca (S010600095beeacbb.vc.shawcable.net [24.83.198.222]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IEP00314E40EW@l-daemon> for freebsd-ports@freebsd.org; Sat, 09 Apr 2005 17:48:00 -0600 (MDT) Received: from localhost ([127.0.0.1]) by alex.varju.ca with esmtp freebsd-ports@freebsd.org; Sat, 09 Apr 2005 16:47:59 -0700 Date: Sat, 09 Apr 2005 16:47:59 -0700 From: Alex Varju In-reply-to: <1112962283.3600.10.camel@dirk.no.domain> To: freebsd-ports@freebsd.org Message-id: <425869AF.7070202@varju.ca> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <424CCC27.6060807@varju.ca> <42551A04.8050201@php.net> <42560932.6050702@varju.ca> <1112962283.3600.10.camel@dirk.no.domain> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050401) Subject: Re: Patching files with spaces in the name X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 23:48:09 -0000 Sam Lawrance wrote: > One option could be to put the patches in files/ without the patch- > suffix, and apply them in a post-patch target explicitly listing the > files to be patched on the command line, eg. > > post-patch: > @${PATCH} ${PATCH_ARGS} "path/with spaces/somefile" ${FILESDIR}/thepatch That's a good idea ... I never realized that patch could take the target file as an argument. I'll do this. Thanks, Alex.