Patching a perl port
Erwin Lansing
erwin at FreeBSD.org
Tue May 24 23:33:00 PDT 2005
On Tue, May 24, 2005 at 08:42:51PM -0600, Aaron Dalton wrote:
Hi Aaron,
> I am trying to package a Perl module. One of the files in the
> distribution needs patching. I followed the exact same procedure as I did
> in security/p5-Email-Obfuscate but MAKE keeps generating the file
> Comments.pm.orig. No matter what I do to the patch-file, this .orig file
> keeps showing up! What am I doing wrong? I have attached the shar file.
>
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
Cheers,
-erwin
--
Erwin Lansing
DISCLAIMER:
No electrons were harmed while sending this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050525/1c040e62/attachment.bin
More information about the freebsd-ports
mailing list