[oe-commits] org.oe.dev packages/qt4/qt_staging.inc: Fix the .pc files of Qt/X11 and Qt/Embedded

Otavio commit openembedded-commits at lists.openembedded.org
Sun Jan 20 11:04:45 UTC 2008


packages/qt4/qt_staging.inc: Fix the .pc files of Qt/X11 and Qt/Embedded
    The libdir was pointing to ${prefix}/lib it should have pointed to
    ${prefix}/lib/{qtopia..,qt4} for the staged libraries

Author: Otavio
Branch: org.openembedded.dev
Revision: 7edb5b62c9b61d4f100e5b5609133b310052769d
ViewMTN: http://monotone.openembedded.org/revision/info/7edb5b62c9b61d4f100e5b5609133b310052769d
Files:
1
packages/qt4/qt_staging.inc
Diffs:

#
# mt diff -r927828807f7c5bfc006c6672c3650bdb82b016ed -r7edb5b62c9b61d4f100e5b5609133b310052769d
#
# 
# 
# patch "packages/qt4/qt_staging.inc"
#  from [7cfc32182e50d232e37d0c6ff7a596d8ec467cc7]
#    to [df056826fb92b4f3267152b61ebbd04a4a8e591f]
# 
============================================================
--- packages/qt4/qt_staging.inc	7cfc32182e50d232e37d0c6ff7a596d8ec467cc7
+++ packages/qt4/qt_staging.inc	df056826fb92b4f3267152b61ebbd04a4a8e591f
@@ -1,9 +1,10 @@ do_stage_append() {
 # Fixing up some Qt .pc files
 do_stage_append() {
     cd ${STAGING_LIBDIR}/pkgconfig
     sed -i s#"-L${S}/lib"##g Qt*.pc
     sed -i s#"moc_location=${S}/bin/moc"#moc_location=${STAGING_BINDIR}/moc4# Qt*.pc
     sed -i s#"uic_location=${S}/bin/uic"#uic_location=${STAGING_BINDIR}/uic4# Qt*.pc
+    sed -i s#libdir=\$\{prefix\}/lib#libdir=\$\{prefix\}/lib/${QT_DIR_NAME}#g Qt*.pc 
 }
 
 STAGE_TEMP = "${WORKDIR}/temp-staging"






More information about the Openembedded-commits mailing list