Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 11:02:51 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410823 - in head/databases: qt4-odbc-plugin qt4-sqlite3-plugin
Message-ID:  <201603111102.u2BB2pVQ077124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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@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"



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