Remove USE_FIREBIRD from bsd.databases.mk, replaced by USES=firebird.

Also:
- replace USE_FIREBIRD by USES=firebird.
- convert ports depending on databases/firebird25-client directly to USES=firebird.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
This commit is contained in:
Mathieu Arnold 2016-04-25 16:14:02 +00:00
parent 21bc5c0345
commit 38cbe5cc9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414015
15 changed files with 16 additions and 52 deletions

View file

@ -75,15 +75,6 @@ Database_Include_MAINTAINER= ports@FreeBSD.org
# the Berkeley DB library directory.
# BDB_VER
# - Detected Berkeley DB version.
##
# USE_FIREBIRD - Add dependency on Firebird library. Valid values are:
# 2 and 1. If no version is given by the maintainer (if
# USE_FIREBIRD= yes) and the user did not define
# WITH_FIREBIRD_VER variable, fall back to default "2".
# WITH_FIREBIRD_VER
# - User defined variable to set Firebird version.
# FIREBIRD_VER
# - Detected Firebird version.
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
@ -375,24 +366,4 @@ IGNORE= ${_IGNORE_MSG}
.endif # USE_BDB
.if defined(USE_FIREBIRD)
.if defined(WITH_FIREBIRD_VER)
USE_FIREBIRD= ${WITH_FIREBIRD_VER}
.endif
.if ${USE_FIREBIRD:tl} == "yes"
FIREBIRD_VER= ${FIREBIRD_DEFAULT:S/.//}
.else
FIREBIRD_VER= ${USE_FIREBIRD}
.endif
.if ${FIREBIRD_VER} == "25"
LIB_DEPENDS+= libfbclient.so:databases/firebird25-client
.else
IGNORE= cannot install: unknown Firebird version: ${FIREBIRD_VER}
.endif
.endif # defined(USE_FIREBIRD)
.endif # defined(_POSTMKINCLUDED) && !defined(Database_Post_Include)

View file

@ -1864,7 +1864,7 @@ _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \
.endif
.if defined(USE_MYSQL) || defined(WANT_MYSQL_VER) || \
defined(USE_BDB) || defined(USE_FIREBIRD)
defined(USE_BDB)
.include "${PORTSDIR}/Mk/bsd.database.mk"
.endif

View file

@ -168,9 +168,8 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
INSTALLS_SHLIB USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \
PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \
USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \
UNIQUENAME LATEST_LINK USE_SQLITE
SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS PLIST_DIRSTRY \
USE_FIREBIRD
UNIQUENAME LATEST_LINK USE_SQLITE USE_FIREBIRD
SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS PLIST_DIRSTRY
SANITY_NOTNEEDED= WX_UNICODE
USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes

View file

@ -72,7 +72,7 @@ IGNORE= your system does not support sysvipc
.if !defined(CLIENT_ONLY)
# Server part stuff
LIB_DEPENDS+= libfbembed.so:databases/firebird25-client
USES+= firebird
CONFIGURE_ARGS+=--enable-superserver --without-editline

View file

@ -16,8 +16,7 @@ LICENSE_NAME= FlameRobin Expat
LICENSE_FILE= ${WRKSRC}/docs/fr_license.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= compiler
USE_FIREBIRD= yes
USES= compiler firebird
USE_WX= 2.8+
WX_COMPS= wx contrib
WX_CONF_ARGS= absolute

View file

@ -17,6 +17,6 @@ OPTIONS_DEFINE= IBASE
IBASE_DESC= Install Interbase/Firebird client
OPTIONS_DEFAULT= IBASE
IBASE_USE= FIREBIRD=yes
IBASE_USES= firebird
.include "${MASTERDIR}/Makefile"

View file

@ -14,9 +14,7 @@ COMMENT= DBI driver for InterBase/Firebird/Yaffil RDBMS server
BUILD_DEPENDS= p5-DBI>=0:databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_FIREBIRD= yes
USES= perl5
USES= perl5 firebird
USE_PERL5= patch configure
post-patch:

View file

@ -12,10 +12,8 @@ COMMENT= Firebird RDBMS bindings for Python
LICENSE= ISCL
LIB_DEPENDS= libfbclient.so:databases/firebird25-client
NO_ARCH= yes
USES= python
USES= firebird python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>

View file

@ -5,6 +5,6 @@ PORTREVISION= 1
COMMENT= Qt InterBase/Firebird database plugin
DB= ibase
USE_FIREBIRD= yes
USES+= firebird
.include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers"

View file

@ -3,6 +3,6 @@
DB= IBase
DB_DESC= InterBase/Firebird
USE_FIREBIRD= yes
USES= firebird
.include "${.CURDIR:H:H}/devel/qt5/Makefile.sqldrivers"

View file

@ -46,7 +46,7 @@ BOOST_LIB_DEPENDS= libboost_date_time.so:devel/boost-libs
BOOST_CMAKE_ON= -DWITH_BOOST:BOOL=ON
BOOST_CMAKE_OFF= -DWITH_BOOST:BOOL=OFF
FIREBIRD_USE= FIREBIRD=yes
FIREBIRD_USES= firebird
FIREBIRD_CMAKE_ARGS_ON= -DWITH_FIREBIRD:BOOL=ON
FIREBIRD_CMAKE_ARGS_OFF= -DWITH_FIREBIRD:BOOL=OFF

View file

@ -110,7 +110,7 @@ CONFIGURE_ARGS+= --disable-mysql
.endif
.if ${PORT_OPTIONS:MFIREBIRD}
USE_FIREBIRD= yes
USES+= firebird
CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_firebird.so
.else

View file

@ -32,7 +32,7 @@ AMF_CONFIGURE_ENABLE= amf
MYSQL_USE= MYSQL=yes
PGSQL_USES= pgsql
SQLITE3_USES= sqlite
FIREBIRD_USE= FIREBIRD=yes
FIREBIRD_USES= firebird
MAKE_JOBS_UNSAFE= yes

View file

@ -27,8 +27,7 @@ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
${LOCALBASE}/include/glm/glm.hpp:math/glm \
bash:shells/bash \
gsed:textproc/gsed
LIB_DEPENDS= libfbembed.so:databases/firebird25-client \
libapr-1.so:devel/apr1 \
LIB_DEPENDS= libapr-1.so:devel/apr1 \
libboost_date_time.so:devel/boost-libs \
libicutu.so:devel/icu \
liblangtag.so:devel/liblangtag \
@ -96,7 +95,7 @@ USE_OPENLDAP= yes
USE_PERL5= build
USE_QT4= # empty but required
USE_XORG= xaw xrandr
USES= bison compiler:c++11-lib cpe gmake jpeg perl5 pkgconfig \
USES= bison compiler:c++11-lib cpe firebird gmake jpeg perl5 pkgconfig \
python shared-mime-info tar:xz
WANT_GNOME= yes

View file

@ -28,7 +28,7 @@ WANT_GNOME= yes
OPTIONS_DEFINE= FIREBIRD SSH SVN X11
OPTIONS_DEFAULT=SSH
OPTIONS_EXCLUDE=NLS DOCS
FIREBIRD_LIB_DEPENDS= libfbclient.so:databases/firebird25-client
FIREBIRD_USES= firebird
SVN_LIB_DEPENDS= libsvn_client-1.so:devel/subversion
.include <bsd.port.options.mk>