Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 16:41:09 +0900
From:      haro@tk.kubota.co.jp (Munehiro Matsuda)
To:        freebsd-current@freebsd.org
Subject:   Small fix for compile error with internat crypto code
Message-ID:  <20000512164109R.haro@tk.kubota.co.jp>

next in thread | raw e-mail | index | archive | help
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: haro@tk.kubota.co.jp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000512164109R.haro>