Subject: work directories in qt4-libs pkgconfig files
To: None <adam@NetBSD.org, pkgsrc-users@NetBSD.org>
From: None <reed@reedmedia.net>
List: pkgsrc-users
Date: 12/01/2007 18:29:38
My lyx package build failed because the earlier configure failed to detect
setenv or putenv. I looked at it had tried to compile a .la file and no -l
either.
Anyways, I looked at the Qt*.pc files and they had many references to work
files. Like /usr/pkg/lib/pkgconfig/Qt3Support.pc has:
uic_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/uic
And it has in Libs:
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/lib/libQtGui.la
(no -l).
And here is /usr/pkg/lib/pkgconfig/QtCore.pc:
prefix=/usr/pkg/qt4
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/QtCore
qt_config=lex yacc warn_on uic resources qt warn_on release link_prl no_mocdepend release stl qt_no_framework release shared dll largefile stl separate_debug_info mmx sse sse2 dylib create_prl link_prl depend_includepath QTDIR_build qt_install_headers qt warn_on depend_includepath qmake_cache target_qt hide_symbols create_libtool create_pc explicitlib moc thread shared dll
moc_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/moc
uic_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/uic
Name: Qtcore
Description: Qtcore Library
Version: 4.3.2
Libs: -Wl,-R${libdir} -L${libdir} -lQtCore -L/usr/pkg/lib -L/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/lib -lz -lm -pthread
Cflags: -DQT_SHARED -I/usr/pkg/qt4/include -I${includedir}
They are all like this.
(I never had this problem when I updated my lyx to uses qt4 a
couple months ago. I was planning to commit the lyx update but it failed
this time.)
Jeremy C. Reed