1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Switch firebird to use DEFAULT_VERSIONS macro to set the default

While here drop support for firebird 2.0
This commit is contained in:
Baptiste Daroussin 2014-05-11 20:46:55 +00:00
parent 0716de5a98
commit 0165ff621a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353730
3 changed files with 12 additions and 6 deletions

View File

@ -532,16 +532,12 @@ USE_FIREBIRD= ${WITH_FIREBIRD_VER}
.endif
.if ${USE_FIREBIRD:tl} == "yes"
FIREBIRD_VER= 25
FIREBIRD_VER= ${FIREBIRD_DEFAULT:S/.//}
.else
FIREBIRD_VER= ${USE_FIREBIRD}
.endif
.if ${FIREBIRD_VER} == "2"
LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird20-client
.elif ${FIREBIRD_VER} == "20"
LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird20-client
.elif ${FIREBIRD_VER} == "21"
.if ${FIREBIRD_VER} == "21"
LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird21-client
.elif ${FIREBIRD_VER} == "25"
LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird25-client

View File

@ -31,5 +31,6 @@ PYTHON2_DEFAULT?= 2.7
PYTHON3_DEFAULT?= 3.3
RUBY_DEFAULT?= 1.9
TCLTK_DEFAULT?= 8.6
FIREBIRD_DEFAULT?= 2.5
.endif

View File

@ -5,6 +5,15 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20140511:
AFFECTS: users of databases/firebird*
AUTHOR: bapt@FreeBSD.org
The default version of databases/firebird* have been changed to support
DEFAULT_VERSIONS variable
DEFAULT_VERSIONS=firebird=2.5
20140507:
AFFECTS: users of lang/open-cobol
AUTHOR: johans@FreeBSD.org