diff options
author | ru <ru@FreeBSD.org> | 2004-04-19 11:35:15 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-19 11:35:15 +0000 |
commit | 82e4cd2161633020cc72cdde2598b0c519e7ee3a (patch) | |
tree | 4134e16b9e816117a7d8666bfbcc246f45cf5116 /secure/lib/libcrypto | |
parent | b2b71c60119eaba73ff15163e8a033fb64fae23a (diff) | |
download | FreeBSD-src-82e4cd2161633020cc72cdde2598b0c519e7ee3a.zip FreeBSD-src-82e4cd2161633020cc72cdde2598b0c519e7ee3a.tar.gz |
Turn MAKE_IDEA into a true "bool" type variable, as documented in
the make.conf(5) manpage.
PR: conf/65738
OK'ed by: markm
Diffstat (limited to 'secure/lib/libcrypto')
-rw-r--r-- | secure/lib/libcrypto/Makefile | 6 | ||||
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 60c8c2f..81ac3c3 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -160,7 +160,7 @@ SRCS+= hmac.c INCS+= hmac.h # idea -.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES +.if defined(MAKE_IDEA) SRCS+= i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c INCS+= idea.h .endif @@ -309,7 +309,7 @@ opensslconf.h: opensslconf-${MACHINE_ARCH}.h cp ${.ALLSRC} ${.TARGET} evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h -.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES +.if !defined(MAKE_IDEA) sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET} .else cp ${.ALLSRC} ${.TARGET} @@ -333,7 +333,7 @@ afterinstall: _bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm .endif -.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES +.if defined(MAKE_IDEA) _ideapath= ${LCRYPTO_SRC}/crypto/idea .endif diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index 939449c..d6e9cc5 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -7,7 +7,7 @@ CFLAGS+= -DTERMIOS -DANSI_SOURCE CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR} CFLAGS+= -DOPENSSL_THREADS -.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES +.if !defined(MAKE_IDEA) CFLAGS+= -DOPENSSL_NO_IDEA .endif |