svn commit: r410823 - in head/databases: qt4-odbc-plugin qt4-sqlite3-plugin

Raphael Kubo da Costa rakuco at FreeBSD.org
Fri Mar 11 11:02:53 UTC 2016


Author: rakuco
Date: Fri Mar 11 11:02:51 2016
New Revision: 410823
URL: https://svnweb.freebsd.org/changeset/ports/410823

Log:
  Add back some library flags lost in r410751.
  
  Some .pri files still get some of their information from Qt4's configure
  script by default. Since we are not using it for the sqldriver ports, both
  qt4-odbc-plugin and qt4-sqlite3-plugin were no longer linking against
  libodbc.so and libsqlite3.so.
  
  Fix it by explicitly passing those via LDFLAGS.
  
  Thanks to Luca Pizzamiglio <luca.pizzamiglio at gmail.com> for the report.

Modified:
  head/databases/qt4-odbc-plugin/Makefile
  head/databases/qt4-sqlite3-plugin/Makefile

Modified: head/databases/qt4-odbc-plugin/Makefile
==============================================================================
--- head/databases/qt4-odbc-plugin/Makefile	Fri Mar 11 10:52:40 2016	(r410822)
+++ head/databases/qt4-odbc-plugin/Makefile	Fri Mar 11 11:02:51 2016	(r410823)
@@ -1,11 +1,13 @@
 # Created by: Michael Nottebrock <lofi at FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 
 DB=		odbc
 COMMENT=	Qt Open Database Connectivity plugin
 
 LIB_DEPENDS=	libodbc.so:${PORTSDIR}/databases/unixODBC
 
+LDFLAGS+=	-lodbc
+
 .include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers"

Modified: head/databases/qt4-sqlite3-plugin/Makefile
==============================================================================
--- head/databases/qt4-sqlite3-plugin/Makefile	Fri Mar 11 10:52:40 2016	(r410822)
+++ head/databases/qt4-sqlite3-plugin/Makefile	Fri Mar 11 11:02:51 2016	(r410823)
@@ -1,10 +1,12 @@
 # Created by: Michael Nottebrock <lofi at FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 
 COMMENT=	Qt SQLite 3 database plugin
 DB=		sqlite
 USES=		sqlite:3
 
+LDFLAGS+=	-lsqlite3
+
 .include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers"


More information about the svn-ports-all mailing list