1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Replace deprecated QMAKEFLAGS with QMAKE_ARGS

This commit is contained in:
Max Brazhnikov 2013-11-21 14:29:32 +00:00
parent fb38a1f687
commit 2a6d08b7a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334495
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ USE_XORG= xscrnsaver
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${LOCALBASE} \
--disable-growl --verbose
CONFIGURE_ENV= QMAKEFLAGS='${QMAKEFLAGS}'
CONFIGURE_ENV= QMAKE_ARGS='${QMAKE_ARGS}'
DESTDIRNAME= INSTALL_ROOT
OPTIONS_DEFINE= ASPELL ENCHANT DBUS DEBUG

View File

@ -14,7 +14,7 @@
bool ok = false;
- int r = doCommand(qmake_path, QStringList() << "atest.pro");
+ int r = doCommand(qmake_path, QStringList() << qc_getenv("QMAKEFLAGS") << "atest.pro");
+ int r = doCommand(qmake_path, QStringList() << qc_getenv("QMAKE_ARGS") << "atest.pro");
if(r == 0)
{
r = doCommand(maketool, QStringList());
@ -22,7 +22,7 @@
args += "-spec";
args += qmakespec;
}
+ args += qc_getenv("QMAKEFLAGS");
+ args += qc_getenv("QMAKE_ARGS");
args += proPath;
int ret = qc_runprogram(qmake_path, args, 0, true);
if(ret != 0)