mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
Turn MAKE_IDEA into a true "bool" type variable, as documented in
the make.conf(5) manpage. PR: conf/65738 OK'ed by: markm
This commit is contained in:
parent
a0bb20b07b
commit
1f2cef4790
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128425
@ -8,7 +8,7 @@ CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj
|
|||||||
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
|
.if !defined(MAKE_IDEA)
|
||||||
CFLAGS+= -DNO_IDEA
|
CFLAGS+= -DNO_IDEA
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ SRCS+= hmac.c
|
|||||||
INCS+= hmac.h
|
INCS+= hmac.h
|
||||||
|
|
||||||
# idea
|
# 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
|
SRCS+= i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
|
||||||
INCS+= idea.h
|
INCS+= idea.h
|
||||||
.endif
|
.endif
|
||||||
@ -309,7 +309,7 @@ opensslconf.h: opensslconf-${MACHINE_ARCH}.h
|
|||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
|
|
||||||
evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
|
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}
|
sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
|
||||||
.else
|
.else
|
||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
@ -333,7 +333,7 @@ afterinstall:
|
|||||||
_bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm
|
_bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
|
.if defined(MAKE_IDEA)
|
||||||
_ideapath= ${LCRYPTO_SRC}/crypto/idea
|
_ideapath= ${LCRYPTO_SRC}/crypto/idea
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ CFLAGS+= -DTERMIOS -DANSI_SOURCE
|
|||||||
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
|
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
|
||||||
CFLAGS+= -DOPENSSL_THREADS
|
CFLAGS+= -DOPENSSL_THREADS
|
||||||
|
|
||||||
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
|
.if !defined(MAKE_IDEA)
|
||||||
CFLAGS+= -DOPENSSL_NO_IDEA
|
CFLAGS+= -DOPENSSL_NO_IDEA
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user