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:
parent
fb38a1f687
commit
2a6d08b7a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334495
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user