Commit graph

9 commits

Author SHA1 Message Date
Mathieu Arnold
86f9c3213f Use default-versions.mk for Apache, PHP, MySQL And PostgreSQL.
Submitted by:	Allan Jude
Reviewed by:	bdrewery, ohauer (apache), mat
With hat:	portmgr
2014-02-11 17:12:28 +00:00
Chris Rees
2bbe67e0a2 Strip postgresql code out of bsd.database.mk, and introduce USES=pgsql.
New syntax:

# Depend on postgresql-client
USES=	pgsql

# Depend on postgresql-client at least 9.2
USES=	pgsql:9.2+

#Depend on postgresql-server at least 9.0
USES=		pgsql:9.0+
WANT_PGSQL=	server

Postgresql now supports DEFAULT_VERSIONS, and please note that the
version syntax now includes dots(!); i.e. before it was 90, now 9.0

Reviewed by:	ade, silence from pgsql@
2014-01-12 21:16:06 +00:00
Baptiste Daroussin
69f00b9f3b Add a USES=lua (WIP) that only supports lua 5.2
Goal is to slowly port any lua software to lua 5.2 and then remove lua 5.1 along with bsd.lua.mk
Make version flexible and settable via DEFAULT_VERSIONS to prepare the futur days of lua
2014-01-10 08:25:49 +00:00
Mathieu Arnold
012586d32c Change default perl to lang/perl5.16
PR:		ports/182550
Submitted by:	mat
Approved by:	bdrewery (exp-run)
2013-10-23 10:26:23 +00:00
Bryan Drewery
54e5c8a8ba - Fix spelling in comment
Submitted by:	des
With hat:	portmgr
2013-10-12 17:17:31 +00:00
Marcus von Appen
f106670c04 The default versions of lang/python* have been changed to support the
new DEFAULT_VERSIONS variable.

PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
make.conf, you should change them something like

DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
2013-10-03 09:25:37 +00:00
Sunpoet Po-Chuan Hsieh
e044f7f73c - Fix typo 2013-09-20 13:13:30 +00:00
Pietro Cerutti
c8209f84b4 - Implement USES+=tcl and USES+=tk
- Use bsd.default-versions.mk to specify the default Tcl/Tk version (8.6)
- Add warnings about the now deprecated use of USE_TCL, USE_TK, ...

  Notes:

  * USES+=tcl and USES+=tk take the following optional arguments

    - either a version in the form of XY or XY+, or 'wrapper' to depend on
      lang/tcl-wrapper or x11-toolkits/tk-wrapper

    - either 'build' (bring in build depend) or 'run' (bring in run depend)

  * it is an error to specify both 'tcl' and 'tk' in USES.

  * The functionality currently implemented via INVALID_TCL_VER and
    INVALID_TK_VER is not yet available.

Approved by:	bapt (portmgr)
2013-09-19 09:49:52 +00:00
Baptiste Daroussin
377fc0342d Introduce the one-true-way to handle multi version ports
This defines a new macros for end users!
DEFAULT_VERSIONS.
This macros is used to end-users to define what version they want to be
the default version for the whole ports tree (for ports allowing that)

Syntax is the following:
DEFAULT_VERSIONS=	perl5=5.18 ruby=2.0

Swith bsd.ruby.mk to use it[1], switch Uses/perl5.mk to use it[2]

If you are maintaining settable multi version port, please change it so
it uses DEFAULT_VERSIONS.

Reviewed by:	ruby (swills) [1], perl (az) [2]
Approved by:	ruby (swills) [1], perl (az) [2]
2013-09-19 08:16:43 +00:00