Disable Qt4 sql-ibase plugin on not-(i386|amd64)

ibase is Firebird, which only builds on i386 and amd64. This patch
squashes the ibase plugin for Qt4.

PR:		216943
Submitted by:	linimon
Reported by:	linimon
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14326
This commit is contained in:
Adriaan de Groot 2018-03-02 13:07:57 +00:00
parent 03e1bcd847
commit 60c54b6248
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463394
3 changed files with 13 additions and 2 deletions

View File

@ -313,9 +313,12 @@ CONFIGURE_ARGS+=--with-qt-includes=${QT_INCDIR} \
_USE_QT_ALL= assistant dbus declarative designer doc gui help \
imageformats l10n linguist linguisttools multimedia \
network opengl pixeltool qdbusviewer qmake script \
scripttools sql sql-ibase sql-mysql sql-odbc sql-pgsql \
scripttools sql sql-mysql sql-odbc sql-pgsql \
sql-sqlite2 sql-sqlite3 svg testlib webkit \
xml xmlpatterns
.if ${ARCH} == amd64 || ${ARCH} == i386
_USE_QT_ALL+= sql-ibase
.endif
_USE_QT4_ONLY= accessible assistant-adp assistantclient clucene codecs-cn codecs-jp \
codecs-kr codecs-tw corelib demo graphicssystems-opengl \

View File

@ -7,4 +7,6 @@ COMMENT= Qt InterBase/Firebird database plugin
DB= ibase
USES= firebird
ONLY_FOR_ARCHS= i386 amd64
.include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers"

View File

@ -31,7 +31,7 @@ GSTREAMER_USE= phonon-gst
NLS_USE= l10n
SQL_PLUGINS_DESC= Install database plugins for QtSql
SQL_PLUGINS_USE=sql-ibase sql-mysql sql-odbc sql-pgsql sql-sqlite2 \
SQL_PLUGINS_USE=sql-mysql sql-odbc sql-pgsql sql-sqlite2 \
sql-sqlite3
TOOLS_DESC= Install Qt tools (qmake, moc, etc.)
@ -44,4 +44,10 @@ TOOLS_USE= assistant help-tools linguist linguisttools makeqpf \
${opt}_USE:= ${${opt}_USE:S/^/QT4=/:S/$/_run/}
.endfor
.include <bsd.port.options.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
SQL_PLUGINS_USE+= sql-ibase
.endif
.include <bsd.port.mk>