Patching files with spaces in the name

Alex Varju alex at varju.ca
Sat Apr 9 16:48:09 PDT 2005


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.


More information about the freebsd-ports mailing list