Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2016 16:14:02 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414015 - in head: Mk databases/firebird25-server databases/flamerobin databases/fpc-ibase databases/p5-DBD-InterBase databases/py-fdb databases/qt4-ibase-plugin databases/qt5-sqldriver...
Message-ID:  <201604251614.u3PGE2RG014229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Apr 25 16:14:02 2016
New Revision: 414015
URL: https://svnweb.freebsd.org/changeset/ports/414015

Log:
  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

Modified:
  head/Mk/bsd.database.mk   (contents, props changed)
  head/Mk/bsd.port.mk   (contents, props changed)
  head/Mk/bsd.sanity.mk   (contents, props changed)
  head/databases/firebird25-server/Makefile   (contents, props changed)
  head/databases/flamerobin/Makefile   (contents, props changed)
  head/databases/fpc-ibase/Makefile   (contents, props changed)
  head/databases/p5-DBD-InterBase/Makefile   (contents, props changed)
  head/databases/py-fdb/Makefile   (contents, props changed)
  head/databases/qt4-ibase-plugin/Makefile   (contents, props changed)
  head/databases/qt5-sqldrivers-ibase/Makefile   (contents, props changed)
  head/databases/soci/Makefile   (contents, props changed)
  head/databases/sqlrelay/Makefile   (contents, props changed)
  head/devel/matreshka/Makefile   (contents, props changed)
  head/editors/libreoffice/Makefile   (contents, props changed)
  head/security/hydra/Makefile   (contents, props changed)

Modified: head/Mk/bsd.database.mk
==============================================================================
--- head/Mk/bsd.database.mk	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/Mk/bsd.database.mk	Mon Apr 25 16:14:02 2016	(r414015)
@@ -75,15 +75,6 @@ Database_Include_MAINTAINER=	ports@FreeB
 #			  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)

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/Mk/bsd.port.mk	Mon Apr 25 16:14:02 2016	(r414015)
@@ -1864,7 +1864,7 @@ _FORCE_POST_PATTERNS=	rmdir kldxref mkfo
 .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
 

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/Mk/bsd.sanity.mk	Mon Apr 25 16:14:02 2016	(r414015)
@@ -168,9 +168,8 @@ SANITY_UNSUPPORTED=	USE_OPENAL USE_FAM U
 		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

Modified: head/databases/firebird25-server/Makefile
==============================================================================
--- head/databases/firebird25-server/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/firebird25-server/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -72,7 +72,7 @@ IGNORE=		your system does not support sy
 
 .if !defined(CLIENT_ONLY)
 # Server part stuff
-LIB_DEPENDS+=	libfbembed.so:databases/firebird25-client
+USES+=		firebird
 
 CONFIGURE_ARGS+=--enable-superserver --without-editline
 

Modified: head/databases/flamerobin/Makefile
==============================================================================
--- head/databases/flamerobin/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/flamerobin/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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

Modified: head/databases/fpc-ibase/Makefile
==============================================================================
--- head/databases/fpc-ibase/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/fpc-ibase/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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"

Modified: head/databases/p5-DBD-InterBase/Makefile
==============================================================================
--- head/databases/p5-DBD-InterBase/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/p5-DBD-InterBase/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -14,9 +14,7 @@ COMMENT=	DBI driver for InterBase/Firebi
 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:

Modified: head/databases/py-fdb/Makefile
==============================================================================
--- head/databases/py-fdb/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/py-fdb/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -12,10 +12,8 @@ COMMENT=	Firebird RDBMS bindings for Pyt
 
 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>

Modified: head/databases/qt4-ibase-plugin/Makefile
==============================================================================
--- head/databases/qt4-ibase-plugin/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/qt4-ibase-plugin/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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"

Modified: head/databases/qt5-sqldrivers-ibase/Makefile
==============================================================================
--- head/databases/qt5-sqldrivers-ibase/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/qt5-sqldrivers-ibase/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -3,6 +3,6 @@
 DB=		IBase
 DB_DESC=	InterBase/Firebird
 
-USE_FIREBIRD=	yes
+USES=		firebird
 
 .include "${.CURDIR:H:H}/devel/qt5/Makefile.sqldrivers"

Modified: head/databases/soci/Makefile
==============================================================================
--- head/databases/soci/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/soci/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -46,7 +46,7 @@ BOOST_LIB_DEPENDS=	libboost_date_time.so
 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
 

Modified: head/databases/sqlrelay/Makefile
==============================================================================
--- head/databases/sqlrelay/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/databases/sqlrelay/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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

Modified: head/devel/matreshka/Makefile
==============================================================================
--- head/devel/matreshka/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/devel/matreshka/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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
 

Modified: head/editors/libreoffice/Makefile
==============================================================================
--- head/editors/libreoffice/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/editors/libreoffice/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -27,8 +27,7 @@ BUILD_DEPENDS=	p5-Archive-Zip>=0:archive
 		${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
 

Modified: head/security/hydra/Makefile
==============================================================================
--- head/security/hydra/Makefile	Mon Apr 25 16:13:38 2016	(r414014)
+++ head/security/hydra/Makefile	Mon Apr 25 16:14:02 2016	(r414015)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604251614.u3PGE2RG014229>