Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.default-versions.mk
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | . if !defined(SSL_DEFAULT) && \ | ||||
!exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \ | !exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \ | ||||
exists(${DESTDIR}/usr/include/openssl/opensslv.h) | exists(${DESTDIR}/usr/include/openssl/opensslv.h) | ||||
SSL_DEFAULT= base | SSL_DEFAULT= base | ||||
. else | . else | ||||
. if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) | . if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) | ||||
. if defined(PKG_BIN) | . if defined(PKG_BIN) | ||||
# find installed port and use it for dependency | # find installed port and use it for dependency | ||||
. if !defined(OPENSSL_INSTALLED) | . if !defined(OPENSSL_INSTALLED) | ||||
. if defined(DESTDIR) | PKGARGS= ${DESTDIR:D-c ${DESTDIR}} | ||||
PKGARGS= -c ${DESTDIR} | |||||
. else | |||||
PKGARGS= | |||||
. endif | |||||
OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || : | OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || : | ||||
. endif | . endif | ||||
. if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED) | . if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED) | ||||
SSL_DEFAULT:= ${OPENSSL_INSTALLED:T} | SSL_DEFAULT:= ${OPENSSL_INSTALLED:T} | ||||
WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf" | WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf" | ||||
. endif | . endif | ||||
. else | . else | ||||
check-makevars:: | check-makevars:: | ||||
Show All 17 Lines |