1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Pass QMAKE_ARGS to qmake

Approved by:	portmgr (blanket approval)
This commit is contained in:
Max Brazhnikov 2013-11-25 18:01:08 +00:00
parent 9890cd8460
commit 8518a1f60b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334874
2 changed files with 6 additions and 6 deletions

View File

@ -46,8 +46,8 @@ PYDISTUTILS_EGGINFO= Recoll-1.0-py${PYTHON_VER}.egg-info
.endif
.if ${PORT_OPTIONS:MQT4}
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \
corelib gui xml webkit
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines_run \
imageformats_run corelib gui xml webkit
QT_NONSTANDARD= yes
CONFIGURE_ENV+= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}"
INSTALLS_ICONS= yes
@ -71,8 +71,8 @@ post-patch:
post-configure:
.if ${PORT_OPTIONS:MQT4}
@cd ${WRKSRC}/qtgui && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
@cd ${WRKSRC}/qtgui && ${SETENV} ${QMAKE_ENV} \
${QMAKE} ${QMAKE_ARGS}
.endif
.include <bsd.port.mk>

View File

@ -7,7 +7,7 @@ CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION}
MAINTAINER= horia@racoviceanu.com
COMMENT= A GUI for testing CD/DVD quality and transfer rate
COMMENT= GUI for testing CD/DVD quality and transfer rate
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
@ -20,7 +20,7 @@ CONFIGURE_ENV= PREFIX=${PREFIX}
USE_LDCONFIG= yes
post-configure:
@${REINPLACE_CMD} -e 's|$$(QMAKE4)|& ${QMAKEFLAGS}|' \
@${REINPLACE_CMD} -e 's|$$(QMAKE4)|& ${QMAKE_AGRS}|' \
${WRKSRC}/gui/Makefile
@${REINPLACE_CMD} -e 's|S_ISBLK|S_ISCHR|' \
${WRKSRC}/lib/qpxtransport/qpx_mmc.cpp