Hello all,

When run 'make -j4 buildworld' with internat crypto code installed, 
I get following error:

===> librsausa
cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h openssl/opensslconf.h
mkdir: openssl: File exists
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Following simple patch seems to cure the problem. Could anybody verify and
commit it?

----------8<---------8<---------Cut here---------8<---------8<---------
--- src/secure/lib/libcrypto/Makefile.inc.org   Thu Apr 20 19:42:52 2000
+++ src/secure/lib/libcrypto/Makefile.inc       Fri May 12 12:58:59 2000
@@ -30,10 +30,10 @@
        echo "#endif" ) > ${.TARGET}
 
 openssl/opensslconf.h:  ../libcrypto/opensslconf-${MACHINE_ARCH}.h
-       @test -d openssl || mkdir -p openssl
+       -@mkdir -p openssl
        cp ${.OODATE} ${.TARGET}
 
 openssl/headers-copied:
-       @test -d openssl || mkdir -p openssl
+       -@mkdir -p openssl
        ${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} ${EXTRA_HDRS} openssl
        @touch ${.TARGET}
----------8<---------8<---------Cut here---------8<---------8<---------

 Thank you,
   Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Office of Business Planning & Development, Kubota Corp.
 /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
                  Chuo-ku Tokyo 103, Japan
                  Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
                  Email: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to