Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/ssl.mk
Show All 26 Lines | |||||
# | # | ||||
.if !defined(_INCLUDE_USES_SSL_MK) | .if !defined(_INCLUDE_USES_SSL_MK) | ||||
_INCLUDE_USES_SSL_MK= yes | _INCLUDE_USES_SSL_MK= yes | ||||
.if !empty(ssl_ARGS) | .if !empty(ssl_ARGS) | ||||
IGNORE= "USES=ssl does not take any argument." | IGNORE= "USES=ssl does not take any argument." | ||||
.endif | .endif | ||||
.include "${PORTSDIR}/Mk/bsd.default-versions.mk" | |||||
.if ${SSL_DEFAULT} == base | .if ${SSL_DEFAULT} == base | ||||
OPENSSLBASE= /usr | OPENSSLBASE= /usr | ||||
OPENSSLDIR?= /etc/ssl | OPENSSLDIR?= /etc/ssl | ||||
. if !exists(${DESTDIR}/usr/lib/libcrypto.so) | . if !exists(${DESTDIR}/usr/lib/libcrypto.so) | ||||
check-depends:: | check-depends:: | ||||
@${ECHO_CMD} "Dependency error: This port requires the OpenSSL library, which is part of" | @${ECHO_CMD} "Dependency error: This port requires the OpenSSL library, which is part of" | ||||
@${ECHO_CMD} "the FreeBSD crypto distribution, but not installed on your" | @${ECHO_CMD} "the FreeBSD crypto distribution, but not installed on your" | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |