Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.default-versions.mk
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
GHOSTSCRIPT_DEFAULT?= agpl | GHOSTSCRIPT_DEFAULT?= agpl | ||||
.if ${ARCH} == amd64 | .if ${ARCH} == amd64 | ||||
# Possible values: c6, c6_64, c7 | # Possible values: c6, c6_64, c7 | ||||
LINUX_DEFAULT?= c6_64 | LINUX_DEFAULT?= c6_64 | ||||
.else | .else | ||||
# Possible values: c6 | # Possible values: c6 | ||||
LINUX_DEFAULT?= c6 | LINUX_DEFAULT?= c6 | ||||
.endif | .endif | ||||
.if defined(OVERRIDE_LINUX_BASE_PORT) | |||||
LINUX_DEFAULT:= ${OVERRIDE_LINUX_BASE_PORT} | |||||
WARNING+= "OVERRIDE_LINUX_BASE_PORT is deprecated, please use DEFAULT_VERSIONS+=linux=${OVERRIDE_LINUX_BASE_PORT}." | |||||
.endif | |||||
# Possible values: 5.1, 5.2, 5.3 | # Possible values: 5.1, 5.2, 5.3 | ||||
LUA_DEFAULT?= 5.2 | LUA_DEFAULT?= 5.2 | ||||
# Possible values: 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 10.2m, 5.5p, 5.6p, 5.7p, 5.6w | # Possible values: 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 10.2m, 5.5p, 5.6p, 5.7p, 5.6w | ||||
MYSQL_DEFAULT?= 5.6 | MYSQL_DEFAULT?= 5.6 | ||||
# Possible values: 5.22, 5.24, 5.26, devel | # Possible values: 5.22, 5.24, 5.26, devel | ||||
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ | .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ | ||||
defined(PACKAGE_BUILDING)) | defined(PACKAGE_BUILDING)) | ||||
PERL5_DEFAULT?= 5.24 | PERL5_DEFAULT?= 5.24 | ||||
Show All 21 Lines | |||||
# Possible values: 2.2, 2.3, 2.4 | # Possible values: 2.2, 2.3, 2.4 | ||||
RUBY_DEFAULT?= 2.4 | RUBY_DEFAULT?= 2.4 | ||||
# Possible values: 4.4, 4.5, 4.6, 4.7 | # Possible values: 4.4, 4.5, 4.6, 4.7 | ||||
SAMBA_DEFAULT?= 4.6 | SAMBA_DEFAULT?= 4.6 | ||||
# Possible values: base, openssl, openssl-devel, libressl, libressl-devel | # Possible values: base, openssl, openssl-devel, libressl, libressl-devel | ||||
.if !defined(SSL_DEFAULT) | .if !defined(SSL_DEFAULT) | ||||
# If no preference was set, check for an installed base version | # If no preference was set, check for an installed base version | ||||
# but give an installed port preference over it. | # but give an installed port preference over it. | ||||
. if defined(WITH_OPENSSL_PORT) | . if !defined(SSL_DEFAULT) && \ | ||||
. if defined(OPENSSL_PORT) | |||||
SSL_DEFAULT:=${OPENSSL_PORT:T} | |||||
WARNING+= "Using WITH_OPENSSL_PORT and OPENSSL_PORT in make.conf is deprecated, replace them with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} in your make.conf" | |||||
. else | |||||
SSL_DEFAULT=openssl | |||||
WARNING+= "Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=openssl in your make.conf" | |||||
. endif | |||||
. elif defined(WITH_OPENSSL_BASE) | |||||
SSL_DEFAULT=base | |||||
WARNING+= "Using WITH_OPENSSL_BASE in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=base in your make.conf" | |||||
. elif !defined(WITH_OPENSSL_BASE) && \ | |||||
!defined(WITH_OPENSSL_PORT) && \ | |||||
!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) | ||||
Show All 30 Lines |