Hi,<br><br>I&#39;ve been upgrading my ports using portmaster today, but during upgrade of qt4-gui the install process fails.<br><br>Here&#39;s the output that I get when I try to install x11-toolkits/qt4-gui<br><br>&lt;... snip... &gt;<br>
<br>===&gt;  Configuring for qt4-gui-4.5.2_1<br>/bin/cp /usr/ports/x11-toolkits/qt4-gui/../../devel/qt4/files/configure /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../<br>/bin/mkdir -p /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../mkspecs<br>
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/qmake<br>/bin/ln -sf /usr/local/bin/moc-qt4 /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/moc<br>
/bin/ln -sf /usr/local/bin/rcc /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/rcc<br>/bin/ln -sf /usr/local/bin/uic-qt4 /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/uic<br>
<br>   The specified system/compiler is not supported:<br><br>      /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/mkspecs/freebsd-g++<br><br>   Please see the README file for a complete list.<br><br>===&gt;  Script &quot;configure&quot; failed unexpectedly.<br>
Please report the problem to kde@FreeBSD.org [maintainer] and attach the<br>&quot;/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../..//config.log&quot;<br>including the output of the failure of your make command. Also, it might be<br>
a good idea to provide an overview of all packages installed on your system<br>(e.g. an `ls /var/db/pkg`).<br>*** Error code 1<br><br>Stop in /usr/ports/x11-toolkits/qt4-gui.<br><br>Searching and found a similar problem already reported - <a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=126820">http://www.freebsd.org/cgi/query-pr.cgi?pr=126820</a><br>
<br>Applying the following patch solves the issue:<br><br>--- Makefile.orig       2009-09-18 09:16:17.000000000 +0300<br>+++ Makefile    2009-09-18 09:23:17.000000000 +0300<br>@@ -87,7 +87,7 @@<br> pre-configure:<br>        ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}<br>
        ${MKDIR} ${WRKSRC}/../../mkspecs<br>-       ${LN} -sf ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ ${WRKSRC}/../../../mkspecs/<br>+       ${LN} -sf ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ ${WRKSRC}/../../mkspecs/<br>
        ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake<br>        ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc<br>        ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc<br><br>Regards,<br>
<br>-- <br>Marin Atanasov<br>dnaeon AT gmail DOT com<br>daemon AT unix-heaven DOT org<br>