Allow to use the OpenSSL-port.

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
This commit is contained in:
Alexander Leidinger 2003-05-21 15:29:51 +00:00
parent 5a59d4dda2
commit 7181d6b189
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81620

View file

@ -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}"