On Tue, 07 Feb 2006 20:15:37 +0100
Jasper Lievisse Adriaanse <[EMAIL PROTECTED]> wrote:

> On Sat, 4 Feb 2006 19:41:09 -0700
> Peter Valchev <[EMAIL PROTECTED]> wrote:
> 
> > security/p5-Digest-MD5-M4p  M4p.xs:135: stray '\' in program
> 
> That file is in DOS format, that's what broke it, and made gcc2
> choke on it. I fixed it on my alpha, and I assume it works too
> on the sparc.

This is much, much cleaner:

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/p5-Digest-MD5-M4p/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    2005/03/30 21:16:18     1.2
+++ Makefile    2006/02/07 20:06:14
@@ -17,4 +17,8 @@
 
 INSTALL_TARGET=        install_site
 
+post-extract:
+       @mv ${WRKSRC}/M4p.xs ${WRKSRC}/M4p.xs.orig
+       @tr -d '\15\32' < ${WRKSRC}/M4p.xs.orig > ${WRKSRC}/M4p.xs
+
 .include <bsd.port.mk>

Cheers,
Jasper

-- 
Humppa is a serious thing!

Attachment: pgpp8XsWyxQ18.pgp
Description: PGP signature

Reply via email to