summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile.inc
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.inc
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.inc')
-rw-r--r--secure/lib/libcrypto/Makefile.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 5df1090..4cbefc5 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -15,8 +15,8 @@ CFLAGS+= -DL_ENDIAN
WITH_RSA?= YES
-SRCS+= buildinf.h openssl/opensslconf.h
-CLEANFILES+= buildinf.h openssl/opensslconf.h
+SRCS+= buildinf.h openssl/opensslconf.h openssl/evp.h
+CLEANFILES+= buildinf.h openssl/opensslconf.h openssl/evp.h
CLEANDIRS+= openssl
buildinf.h:
@@ -35,3 +35,6 @@ openssl/opensslconf.h: ../libcrypto/opensslconf-${MACHINE_ARCH}.h
mkdir -p openssl
cp ${.OODATE} ${.TARGET}
${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} ${EXTRA_HDRS} openssl
+
+openssl/evp.h: ${LCRYPTO_SRC}/evp/evp.h
+ sed '/^#ifndef NO_IDEA$$/,/^#endif$$/d' ${.OODATE} > ${.TARGET}
OpenPOWER on IntegriCloud