ports/112228: [PATCH] x11-toolkits/qt4-gui: creates wrong pkg-config data
Koji Yokota
yokota at res.otaru-uc.ac.jp
Sun Apr 29 09:10:06 UTC 2007
>Number: 112228
>Category: ports
>Synopsis: [PATCH] x11-toolkits/qt4-gui: creates wrong pkg-config data
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 29 09:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Koji Yokota
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Dec 28 16:17:05 JST 2006 hoge at hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP i386
>Description:
x11-toolkits/qt4-gui creates ${LOCALBASE}/libdata/pkgconfig/QtGui.pc which has wrong moc_location, uic_location and Libs:
>How-To-Repeat:
>Fix:
Quick fix is to apply the following patch in the post-configure stage.
--- QtGui.pc.diff begins here ---
--- lib/QtGui.pc.orig Sun Apr 29 17:26:40 2007
+++ lib/QtGui.pc Sun Apr 29 17:26:40 2007
@@ -3,11 +3,11 @@
libdir=${prefix}/lib
includedir=${prefix}/include/QtGui
qt_config=lex yacc warn_on uic resources qt warn_on release thread link_prl release stl qt_no_framework release shared dll largefile stl separate_debug_info sse dylib create_prl link_prl depend_includepath QTDIR_build use_libmysqlclient_r x11 qt_install_headers qt warn_on depend_includepath qmake_cache target_qt create_libtool create_pc explicitlib x11sm opentype moc x11lib x11inc shared dll
-moc_location=/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.2.3/bin/moc
-uic_location=/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.2.3/bin/uic
+moc_location=/usr/local/bin/moc-qt4
+uic_location=/usr/local/bin/uic-qt4
Name: Qtgui
Description: Qtgui Library
Version: 4.2.3
-Libs: -L${libdir} -lQtGui -L/usr/local/lib -L/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.2.3/lib -L/usr/X11R6/lib -laudio -lXt -lpng -lSM -lICE -lQtCore -L/usr/ports/devel/qt4-corelib/work/qt-x11-opensource-src-4.2.3/lib -L/usr/local/lib -lz -pthread -lgthread-2.0 -lglib-2.0 -liconv -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm -pthread
+Libs: -L${libdir} -lQtGui -L/usr/local/lib -L/usr/X11R6/lib -laudio -lXt -lpng -lSM -lICE -lQtCore -L/usr/local/lib -lz -pthread -lgthread-2.0 -lglib-2.0 -liconv -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm -pthread
Cflags: -DQT_SHARED -I/usr/local/include -I${includedir}
--- QtGui.pc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list