Allow to use the OpenSSL-port.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
This commit is contained in:
parent
5a59d4dda2
commit
7181d6b189
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81620
1 changed files with 4 additions and 4 deletions
|
@ -30,14 +30,14 @@ ADD_GDEFS+= -DINET6 -D__ss_family=ss_family -D__ss_len=ss_len
|
|||
|
||||
# Uncomment to activate the use of verifiable "cookies". The idea is to be
|
||||
# able to detect fake "logs" intended to get your innocent users in trouble.
|
||||
# Naturally, since it uses libcrypto, you must have the "secure" dist
|
||||
# installed.
|
||||
# Naturally, since it uses libcrypto, you must have OpenSSL installed.
|
||||
#WITH_DES= yes
|
||||
|
||||
.if defined(WITH_DES)
|
||||
.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
|
||||
ADD_GDEFS+= -DINCLUDE_CRYPT -DOPENSSL_DES_LIBDES_COMPATIBILITY \
|
||||
-I/usr/include/openssl
|
||||
ADD_GLIBS= -lcrypto
|
||||
-I${OPENSSLINC} -I${OPENSSLINC}/openssl
|
||||
ADD_GLIBS= -L${OPENSSLLIB} -lcrypto
|
||||
.endif
|
||||
.if defined(WITH_DES) || ${OSVERSION} >= 400014
|
||||
MAKE_ENV+= ADD_GDEFS="${ADD_GDEFS}" ADD_GLIBS="${ADD_GLIBS}"
|
||||
|
|
Loading…
Reference in a new issue