On Sun, 10 Aug 2008 16:14:28 +0200, Lars Segelken wrote: > On Sonntag, 10. August 2008, Max Brazhnikov wrote: > > On Sun, 10 Aug 2008 00:05:23 +0200, Lars Segelken wrote: > > > On Samstag, 9. August 2008, Max Brazhnikov wrote: > > > > On Sat, 9 Aug 2008 12:57:28 +0200, Lars Segelken wrote: > > > > > I'm not realy into the ports-system, but i think QMAKESPEC should > > > > > be set by the file /usr/ports/Mk/bsd.qt.mk for there is a line > > > > > QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++ > > > > > > > > > > Any idea why that doesn't work? > > > > > > > > It works. The question is why it doesn't work for you. > > > > > > Indeed. > > > > > > It works, if i change this line > > > QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++ > > > to > > > QMAKESPEC= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++ > > > > > > But i haven't found where my QMAKESPEC is set to a wrong value. > > > > Have you got the same error when rebuilding qt4-moc? Could you please > > show the output 'make -VQMAKESPEC -VCONFIGURE_ARGS' from devel/qt4-moc > > directory and environment setting? > > I changed back the file /usr/ports/Mk/bsd.qt.mk to orignial. > make -VQMAKESPEC -VCONFIGURE_ARGS now says: > > ../qt4-moc>make -VQMAKESPEC -VCONFIGURE_ARGS > freebsd-g++ > -fast -platform freebsd-g++ -L/usr/local/lib/qt4 > -qt-gif -system-libjpeg -system-libpng -system-libmng -system-libtiff > -system-zlib -confirm-license -prefix /usr/local -bindir /usr/local/bin > -libdir /usr/local/lib/qt4 -docdir /usr/local/share/doc/qt4 -headerdir > /usr/local/include/qt4 -plugindir /usr/local/lib/qt4/plugins -datadir > /usr/local/share/qt4 -translationdir /usr/local/share/qt4/translations > -sysconfdir /usr/local/etc/xdg -examplesdir > /usr/local/share/examples/qt4/examples -demosdir > /usr/local/share/examples/qt4/demos -no-exceptions -release > -no-separate-debug-info
You have overridden QMAKESPEC somewhere. In a clean environment should be: ~> cd /usr/ports/devel/qt4-moc && make -VQMAKESPEC /usr/local/share/qt4/mkspecs/freebsd-g++ Max _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd