Patching a perl port

Sergey Skvortsov skv at FreeBSD.org
Wed May 25 02:50:09 PDT 2005


Erwin Lansing wrote:

> The easiest way, which is what I usually take, is to add a post-patch
> target that removes the .orig file
> 
> .post-patch
> 	@${RM} ${WRKSRC}/somefile.pl.orig

more common way if more than one file patched:

post-patch:
 	@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM}

-- 
Sergey Skvortsov
mailto: skv at FreeBSD.org


More information about the freebsd-ports mailing list