summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-10-08 17:32:02 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-10-08 17:32:02 +0000
commitc99cd1c3134cd8cc6c53912a8569169efa91e231 (patch)
tree49ded00571a58318b93daae1d61170ade6005d47 /lib/libssl
parentd1060b758861082863d0ba96516fb1ee284a76e9 (diff)
create /usr/include/ssl before trying to copy files into it.
If you've had a recent build fail check /usr/include/ssl. if it is a file instead of a directory remove it and try again after updating with these changes.
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/crypto-patent/Makefile3
-rw-r--r--lib/libssl/crypto/Makefile3
-rw-r--r--lib/libssl/ssl-patent/Makefile1
-rw-r--r--lib/libssl/ssl/Makefile1
4 files changed, 6 insertions, 2 deletions
diff --git a/lib/libssl/crypto-patent/Makefile b/lib/libssl/crypto-patent/Makefile
index 74b98926f17..ba6d5aaa191 100644
--- a/lib/libssl/crypto-patent/Makefile
+++ b/lib/libssl/crypto-patent/Makefile
@@ -149,12 +149,13 @@ HDRS= asn1/asn1.h asn1/asn1_mac.h bf/blowfish.h bio/bio.h \
${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/idea ${LCRYPTO_SRC}/bf \
${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/dsa \
${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/buffer ${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/stack \
- ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/objects \
+ ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/objects \
${LCRYPTO_SRC}/evp ${LCRYPTO_SRC}/pem ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/asn1 \
${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/conf txt_db/txt_db.c ${LCRYPTO_SRC}/pkcs7 \
${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}
includes:
+ @install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include/ssl
@cd ${LCRYPTO_SRC}; for i in $(HDRS); do \
j="cmp -s ${LCRYPTO_SRC}/$$i \
${DESTDIR}/usr/include/ssl/`basename $$i` || \
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile
index 516609d8d15..2b4ef204a10 100644
--- a/lib/libssl/crypto/Makefile
+++ b/lib/libssl/crypto/Makefile
@@ -149,12 +149,13 @@ HDRS= asn1/asn1.h asn1/asn1_mac.h bf/blowfish.h bio/bio.h \
${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/idea ${LCRYPTO_SRC}/bf \
${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/dsa \
${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/buffer ${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/stack \
- ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/objects \
+ ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/objects \
${LCRYPTO_SRC}/evp ${LCRYPTO_SRC}/pem ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/asn1 \
${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/conf txt_db/txt_db.c ${LCRYPTO_SRC}/pkcs7 \
${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}
includes:
+ @install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include/ssl
@cd ${LCRYPTO_SRC}; for i in $(HDRS); do \
j="cmp -s ${LCRYPTO_SRC}/$$i \
${DESTDIR}/usr/include/ssl/`basename $$i` || \
diff --git a/lib/libssl/ssl-patent/Makefile b/lib/libssl/ssl-patent/Makefile
index 09e9de7fb47..2ed039602f8 100644
--- a/lib/libssl/ssl-patent/Makefile
+++ b/lib/libssl/ssl-patent/Makefile
@@ -64,6 +64,7 @@ HDRS= ssl.h ssl2.h ssl3.h ssl23.h tls1.h
.PATH: ${LSSL_SRC}
includes:
+ @install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include/ssl
@cd ${LSSL_SRC}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/ssl/`basename $$i` || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
diff --git a/lib/libssl/ssl/Makefile b/lib/libssl/ssl/Makefile
index facbfa9ca7a..95b4b42616c 100644
--- a/lib/libssl/ssl/Makefile
+++ b/lib/libssl/ssl/Makefile
@@ -64,6 +64,7 @@ HDRS= ssl.h ssl2.h ssl3.h ssl23.h tls1.h
.PATH: ${LSSL_SRC}
includes:
+ @install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include/ssl
@cd ${LSSL_SRC}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/ssl/`basename $$i` || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \