summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-08-23 11:41:01 +0000
committergreen <green@FreeBSD.org>2000-08-23 11:41:01 +0000
commit3226a5dc26ee7ca0774cf6ffbbf442fa0d75ff5e (patch)
tree020c1933d43d72aede78e4dc2f7b7c408c342a6e /secure/lib/libcrypto/Makefile
parentb55c3488b18998777c70bebb1753780a97b4e9b9 (diff)
downloadFreeBSD-src-3226a5dc26ee7ca0774cf6ffbbf442fa0d75ff5e.zip
FreeBSD-src-3226a5dc26ee7ca0774cf6ffbbf442fa0d75ff5e.tar.gz
Generate a new evp.h at build-time instead of install-time to properly
support NFS(ro) installworlds.
Diffstat (limited to 'secure/lib/libcrypto/Makefile')
-rw-r--r--secure/lib/libcrypto/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 67b8128..c31ab55 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -268,15 +268,13 @@ MLINKS= des_crypt.3 des_read_password.3 \
des_crypt.3 des_enc_read.3 des_crypt.3 des_enc_write.3 \
des_crypt.3 des_set_odd_parity.3 des_crypt.3 des_is_weak_key.3
-beforeinstall: openssl/opensslconf.h
+beforeinstall: openssl/opensslconf.h openssl/evp.h
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${CRYPTO_HDRS} openssl/opensslconf.h \
${DESTDIR}/usr/include/openssl
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
- sed '/^#ifndef NO_IDEA$$/,/^#endif$$/d' ${LCRYPTO_SRC}/evp/evp.h > \
- ${.OBJDIR}/evp.h.new
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${.OBJDIR}/evp.h.new ${DESTDIR}/usr/include/openssl/evp.h
+ openssl/evp.h ${DESTDIR}/usr/include/openssl/evp.h
.else
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${LCRYPTO_SRC}/evp/evp.h ${DESTDIR}/usr/include/openssl/evp.h
OpenPOWER on IntegriCloud