Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Apr 2005 16:47:59 -0700
From:      Alex Varju <alex@varju.ca>
To:        freebsd-ports@freebsd.org
Subject:   Re: Patching files with spaces in the name
Message-ID:  <425869AF.7070202@varju.ca>
In-Reply-To: <1112962283.3600.10.camel@dirk.no.domain>
References:  <424CCC27.6060807@varju.ca> <42551A04.8050201@php.net> <42560932.6050702@varju.ca> <1112962283.3600.10.camel@dirk.no.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425869AF.7070202>