Date: Mon, 21 Oct 2013 19:47:02 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331179 - head/Mk Message-ID: <201310211947.r9LJl2qE011701@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Mon Oct 21 19:47:02 2013 New Revision: 331179 URL: http://svnweb.freebsd.org/changeset/ports/331179 Log: Pass CC/CXX to qmake when we can't find appropriate QMAKESPEC Reported by: amdmi3 Modified: head/Mk/bsd.qt.mk Modified: head/Mk/bsd.qt.mk ============================================================================== --- head/Mk/bsd.qt.mk Mon Oct 21 19:42:02 2013 (r331178) +++ head/Mk/bsd.qt.mk Mon Oct 21 19:47:02 2013 (r331179) @@ -337,6 +337,9 @@ QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspe .else # If something went wrong, default to the base configuration. QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-${QMAKE_BASE_COMPILER} +QMAKE_ARGS+= QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \ + QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" \ + QMAKE_LINK_C="${CC}" QMAKE_LINK_C_SHLIB="${CC}" .endif .for component in ${_USE_QT4_ALL}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310211947.r9LJl2qE011701>