2013-09-19 08:16:43 +00:00
# $FreeBSD$
#
# MAINTAINER: ports@FreeBSD.org
#
2014-02-25 00:32:09 +00:00
# Provide default versions for ports with multiple versions selectable
# by the user.
2013-09-19 08:16:43 +00:00
#
2014-02-25 00:32:09 +00:00
# Users who want to override these defaults can easily do so by defining
# DEFAULT_VERSIONS in their make.conf as follows:
2013-09-19 08:16:43 +00:00
#
2014-02-25 00:32:09 +00:00
# DEFAULT_VERSIONS= perl5=5.18 ruby=2.0
2013-09-19 08:16:43 +00:00
. i f ! d e f i n e d ( _ I N C L U D E _ B S D _ D E F A U L T _ V E R S I O N S _ M K )
_INCLUDE_BSD_DEFAULT_VERSIONS_MK = yes
2016-06-23 10:19:02 +00:00
LOCALBASE ?= /usr/local
2013-09-19 08:16:43 +00:00
. f o r l a n g i n $ { D E F A U L T _ V E R S I O N S }
_l = ${ lang : C /=.*//g }
2014-05-05 09:45:36 +00:00
${_l : tu }_DEFAULT = ${lang :C /.*=//g }
2013-09-19 08:16:43 +00:00
. e n d f o r
2016-04-14 13:34:25 +00:00
# Possible values: 2.2, 2.4
2014-07-13 15:51:43 +00:00
APACHE_DEFAULT ?= 2.4
2016-05-02 13:16:52 +00:00
# Possible values: 48, 5, 6
BDB_DEFAULT ?= 5
2016-04-14 13:34:25 +00:00
# Possible values: 2.5
2016-03-24 15:47:50 +00:00
FIREBIRD_DEFAULT ?= 2.5
2016-04-14 13:34:25 +00:00
# Possible values: 3.0.0
2015-12-05 23:29:36 +00:00
FPC_DEFAULT ?= 3.0.0
2016-04-14 13:34:25 +00:00
# Possible values: 4.6, 4.7, 4.8, 4.9, 5
2014-09-10 19:09:58 +00:00
GCC_DEFAULT ?= 4.8
2016-04-14 13:34:25 +00:00
# Possible values: 7, 8, 9, agpl
2016-03-24 15:47:50 +00:00
GHOSTSCRIPT_DEFAULT ?= agpl
2016-09-05 19:23:42 +00:00
# Possible values: f10, c6, c6_64, c7, c7_64
LINUX_DEFAULT ?= c6
. i f d e f i n e d ( O V E R R I D E _ L I N U X _ B A S E _ P O R T )
LINUX_DEFAULT := ${ OVERRIDE_LINUX_BASE_PORT }
WARNING += " OVERRIDE_LINUX_BASE_PORT is deprecated, please use DEFAULT_VERSIONS+=linux= ${ OVERRIDE_LINUX_BASE_PORT } . "
. e n d i f
2016-04-14 13:34:25 +00:00
# Possible values: 5.1, 5.2, 5.3
2014-01-12 21:16:06 +00:00
LUA_DEFAULT ?= 5.2
2016-04-14 13:34:25 +00:00
# Possible values: 5.1, 5.5, 5.6, 5.7, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p
2015-02-04 13:45:13 +00:00
MYSQL_DEFAULT ?= 5.6
2016-04-14 13:34:25 +00:00
# Possible values: 5.18, 5.20, 5.22, devel
2015-10-20 20:26:59 +00:00
. i f ! e x i s t s ( $ { L O C A L B A S E } / b i n / p e r l ) | | ( ! d e f i n e d ( _ P O R T S _ E N V _ C H E C K ) & & \
defined( PACKAGE_BUILDING) )
2015-05-13 10:20:18 +00:00
PERL5_DEFAULT ?= 5.20
2015-09-14 12:19:48 +00:00
. e l i f ! d e f i n e d ( P E R L 5 _ D E F A U L T )
# There's no need to replace development versions, like "5.23" with "devel"
# because 1) nobody is supposed to use it outside of poudriere, and 2) it must
# be set manually in /etc/make.conf in the first place, and we're never getting
# in here.
2015-10-19 20:53:15 +00:00
. i f ! d e f i n e d ( _ P E R L 5 _ F R O M _ B I N )
2015-09-14 12:19:48 +00:00
_PERL5_FROM_BIN != perl -e 'printf "%vd\n", $$^V;'
2015-10-19 20:53:15 +00:00
. e n d i f
_EXPORTED_VARS += _PERL5_FROM_BIN
2015-09-14 12:19:48 +00:00
PERL5_DEFAULT := ${ _PERL5_FROM_BIN : R }
. e n d i f
Delete the now expired postgresql90 ports. Upstream support for
postgresql-9.0.x was declared EoL in September 2015.
Summary:
Remove 9.0 from the list of postgresql versions available in ports
Disconnect postgresql90 ports from the build
Remove postgresql90-pgtcl port
Remove postgresql90-client port
Move the master postgreslXY-plperl makefile to postgresql95-plperl/Makefile.
Adjust include lines in other postgresqlXY-plperl ports
Delete postgresql90-plperl
Move the master postgreslXY-plpython/{Makefile,pkg-descr} to
postgresl95-plpython/{Makefile,pkg-descr}
Adjust all other postgresqlXY-plpython/Makefile to include the new master
Remove postgresql90-server
Reviewers: jgh, girgen, #portmgr, O5 Ports Framework, bapt, crees
Reviewed By: #portmgr, O5 Ports Framework, bapt, crees
Subscribers: mat
Differential Revision: https://reviews.freebsd.org/D6898
2016-07-01 17:45:51 +00:00
# Possible values: 9.1, 9.2, 9.3, 9.4, 9.5
2014-12-08 09:57:23 +00:00
PGSQL_DEFAULT ?= 9.3
2016-04-14 13:34:25 +00:00
# Possible values: 5.5, 5.6, 7.0
2015-02-20 13:56:11 +00:00
PHP_DEFAULT ?= 5.6
2016-04-14 13:34:25 +00:00
# Possible values: 2.7, 3.3, 3.4, 3.5
2013-10-03 09:25:37 +00:00
PYTHON_DEFAULT ?= 2.7
2016-04-14 13:34:25 +00:00
# Possible values: 2.7
2013-10-03 09:25:37 +00:00
PYTHON2_DEFAULT ?= 2.7
2016-04-14 13:34:25 +00:00
# Possible values: 3.3, 3.4, 3.5
2015-01-10 23:15:27 +00:00
PYTHON3_DEFAULT ?= 3.4
2016-04-14 13:34:25 +00:00
# Possible values: 2.0, 2.1, 2.2, 2.3
2016-04-04 22:20:42 +00:00
RUBY_DEFAULT ?= 2.2
2016-06-16 13:22:58 +00:00
# Possible values: base, openssl, openssl-devel, libressl, libressl-devel
. i f ! d e f i n e d ( S S L _ D E F A U L T )
# If no preference was set, check for an installed base version
# but give an installed port preference over it.
. i f d e f i n e d ( W I T H _ O P E N S S L _ P O R T )
. i f d e f i n e d ( O P E N S S L _ P O R T )
SSL_DEFAULT := ${ OPENSSL_PORT : T }
2016-06-16 22:35:23 +00:00
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 "
2016-06-16 13:22:58 +00:00
. e l s e
SSL_DEFAULT = openssl
2016-06-16 22:35:23 +00:00
WARNING += "Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=openssl in your make.conf"
2016-06-16 13:22:58 +00:00
. e n d i f
. e l i f d e f i n e d ( W I T H _ O P E N S S L _ B A S E )
SSL_DEFAULT = base
2016-06-17 12:43:41 +00:00
WARNING += "Using WITH_OPENSSL_BASE in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=base in your make.conf"
2016-06-16 13:22:58 +00:00
. e l i f ! d e f i n e d ( W I T H _ O P E N S S L _ B A S E ) & & \
!defined( WITH_OPENSSL_PORT) && \
!defined( SSL_DEFAULT) && \
!exists( ${ DESTDIR } /${ LOCALBASE } /lib/libcrypto.so) && \
exists( ${ DESTDIR } /usr/include/openssl/opensslv.h)
SSL_DEFAULT = base
. e l s e
. i f e x i s t s ( $ { D E S T D I R } / $ { L O C A L B A S E } / l i b / l i b c r y p t o . s o )
2016-06-23 10:19:02 +00:00
. i f d e f i n e d ( P K G _ B I N )
2016-06-16 13:22:58 +00:00
# find installed port and use it for dependency
2016-06-23 10:19:02 +00:00
. i f ! d e f i n e d ( O P E N S S L _ I N S T A L L E D )
. i f d e f i n e d ( D E S T D I R )
2016-06-16 13:22:58 +00:00
PKGARGS = -c ${ DESTDIR }
2016-06-23 10:19:02 +00:00
. e l s e
2016-06-16 13:22:58 +00:00
PKGARGS =
2016-06-23 10:19:02 +00:00
. e n d i f
2016-06-16 13:22:58 +00:00
OPENSSL_INSTALLED != ${ PKG_BIN } ${ PKGARGS } which -qo ${ LOCALBASE } /lib/libcrypto.so || :
2016-06-23 10:19:02 +00:00
. e n d i f
. i f d e f i n e d ( O P E N S S L _ I N S T A L L E D ) & & ! e m p t y ( O P E N S S L _ I N S T A L L E D )
2016-06-16 13:22:58 +00:00
SSL_DEFAULT := ${ OPENSSL_INSTALLED : T }
2016-06-16 22:35:23 +00:00
WARNING += " You have ${ OPENSSL_INSTALLED } installed but do not have DEFAULT_VERSIONS+=ssl= ${ SSL_DEFAULT } set in your make.conf "
2016-06-23 10:19:02 +00:00
. e n d i f
. e l s e
check-makevars ::
@${ ECHO_MSG } " You have a ${ LOCALBASE } /lib/libcrypto.so file installed, but the framework is unable "
@${ ECHO_MSG } "to determine what port it comes from."
@${ ECHO_MSG } "Add DEFAULT_VERSIONS+=ssl=<openssl package name> to your /etc/make.conf and try again."
@${ FALSE }
2016-06-16 13:22:58 +00:00
. e n d i f
. e n d i f
. e n d i f
# Make sure we have a default in the end
SSL_DEFAULT ?= base
. e n d i f
2016-04-14 13:34:25 +00:00
# Possible values: 8.4, 8.5, 8.6
2014-01-12 21:16:06 +00:00
TCLTK_DEFAULT ?= 8.6
2013-09-19 08:16:43 +00:00
2015-01-26 00:03:46 +00:00
# Version of lang/gcc. Do not override!
LANG_GCC_IS = 4.8
2013-09-19 08:16:43 +00:00
. e n d i f