Can everyone please test this patch against OpenSSL, which should fix
the problems observed with -j builds as well as cleaning out the
temporary ASM files.

This fix will need to be committed to -stable prior to the release, as
it shares the same code.

Kris

Index: Makefile
===================================================================
RCS file: /mnt/ncvs/src/secure/lib/libcrypto/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile    2001/03/08 07:57:49     1.36
+++ Makefile    2001/03/12 10:30:15
@@ -380,16 +380,12 @@
 .include <bsd.lib.mk>
 
 .if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
-.SUFFIXES:     .o .pl
-.SUFFIXES:     .po .pl
-.SUFFIXES:     .So .pl
-.pl.o:
-       perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
+CLEANFILES+=   ${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/}
+.SUFFIXES:     .pl .cmt
+.pl.cmt:
+       perl -I${PERLPATH} ${.ALLSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}
 
-.pl.po:
-       perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
-
-.pl.So:
-       perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
+.cmt.s:
+       tr -d "'" < ${.ALLSRC} > ${.TARGET}
 .endif
 

PGP signature

Reply via email to