Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 17:19:44 +0900 (JST)
From:      Koji Yokota <yokota@res.otaru-uc.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112227: [PATCH] devel/qt4-corelib: creates wrong pkg-config data
Message-ID:  <20070429081944.ED374B82F@room520-1.yokota-s.otaru-uc.ac.jp>
Resent-Message-ID: <200704290820.l3T8KD8v001834@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112227
>Category:       ports
>Synopsis:       [PATCH] devel/qt4-corelib: 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 08:20:10 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@hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP i386
	
>Description:
	devel/qt4-corelib creates ${LOCALBASE}/libdata/pkgconfig/QtCore.pc which has wrong moc_location, uic_location and Libs:
>How-To-Repeat:
	
>Fix:

	I attach a quick hack.



--- patch-lib-QtCore.pc begins here ---
--- lib/QtCore.pc.orig	Sun Apr 29 17:13:11 2007
+++ lib/QtCore.pc	Sun Apr 29 17:13:11 2007
@@ -3,11 +3,11 @@
 libdir=${prefix}/lib
 includedir=${prefix}/include/QtCore
 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 qt_install_headers qt warn_on depend_includepath qmake_cache target_qt create_libtool create_pc explicitlib moc shared dll
-moc_location=/usr/ports/devel/qt4-corelib/work/qt-x11-opensource-src-4.2.3/bin/moc
-uic_location=/usr/ports/devel/qt4-corelib/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: Qtcore
 Description: Qtcore Library
 Version: 4.2.3
-Libs: -L${libdir} -lQtCore -L/usr/ports/devel/qt4-corelib/work/qt-x11-opensource-src-4.2.3/lib -L/usr/local/lib  -lz -lm -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -liconv -pthread 
+Libs: -L${libdir} -lQtCore -L/usr/local/lib  -lz -lm -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -liconv -pthread 
 Cflags: -DQT_SHARED -I/usr/local/include -I${includedir}
--- patch-lib-QtCore.pc ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070429081944.ED374B82F>