]> git.openpandora.org Git - openembedded.git/commitdiff
Fix PKG_CONFIG_PATH references which should be PKG_CONFIG_DIR
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 2 Sep 2007 10:24:06 +0000 (10:24 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sun, 2 Sep 2007 10:24:06 +0000 (10:24 +0000)
classes/gtk-binver.bbclass
classes/pkgconfig.bbclass
packages/gnome/libsoup_2.2.100.bb
packages/qt/qt4-x11-free_4.3.0.bb
packages/xcalibrateext/xcalibrateext_git.bb
packages/xfce/xfce-mcs-manager.inc

index 8398cc5424b492099a339b3529257fe7a489f945..52082492e75f6d6153ba7a66d5faa89965b18752 100644 (file)
@@ -1,7 +1,7 @@
 def gtkbinver_find(d):
     import bb
     try:
-        for line in file( "%s/gtk+-2.0.pc" % bb.data.getVar('PKG_CONFIG_PATH', d, 1) ).readlines():
+        for line in file( "%s/gtk+-2.0.pc" % bb.data.getVar('PKG_CONFIG_DIR', d, 1) ).readlines():
             if line.startswith( "gtk_binary_version" ):
                 # bb.note( "gtk_binary_version = '%s'" % line.split("=")[1].strip() )
                 return line.split("=")[1].strip()
index 3256977517576db53eee4d634b4c654b62da1f01..c795c8a7092728b2fbd8a5e1b8dcd63554ef8546 100644 (file)
@@ -31,7 +31,7 @@ do_install_append () {
 do_stage_append () {
        for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
                pcname=`basename $pc`
-               install -d ${PKG_CONFIG_PATH}
-               cat $pc | sed ${@get_pkgconfig_mangle(d)} -e 's:${D}${libdir}\S*:${STAGING_LIBDIR}:g' -e 's:${D}${prefix}/include\S*:${STAGING_INCDIR}:g' > ${PKG_CONFIG_PATH}/$pcname
+               install -d ${PKG_CONFIG_DIR}
+               cat $pc | sed ${@get_pkgconfig_mangle(d)} -e 's:${D}${libdir}\S*:${STAGING_LIBDIR}:g' -e 's:${D}${prefix}/include\S*:${STAGING_INCDIR}:g' > ${PKG_CONFIG_DIR}/$pcname
        done
 }
index 701ab1556d4704ce6e708256d9611c9a9672a47a..e829ad39cab00af02f1882bbbd16f6753850053e 100644 (file)
@@ -8,9 +8,9 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.2/${PN}-${PV}.tar.bz2"
 inherit autotools pkgconfig
 
 do_stage() {
-       rm -f ${PKG_CONFIG_PATH}/libsoup*
+       rm -f ${PKG_CONFIG_DIR}/libsoup*
        autotools_stage_all
-       ln -sf ${PKG_CONFIG_PATH}/libsoup.pc ${PKG_CONFIG_PATH}/libsoup-2.2.pc
+       ln -sf ${PKG_CONFIG_DIR}/libsoup.pc ${PKG_CONFIG_DIR}/libsoup-2.2.pc
 }
 
 FILES_${PN} = "${libdir}/lib*.so.*"
index 8ad20178bb1f68b8548a7603aa6b8ad7f14b98ec..8d686424177f9b9431e8bfecd3e82c1b790657ab 100644 (file)
@@ -81,9 +81,10 @@ do_stage() {
        for pcc in AssistantClient DBus Test UiTools ; do
                sed -i -e 's,${S}/lib,${STAGING_QT_DIR}/lib,g' ${STAGING_QT_DIR}/lib/pkgconfig/Qt${pcc}.pc
        done
+       install -d ${PKG_CONFIG_DIR}/
         for pc in ${STAGING_QT_DIR}/lib/pkgconfig/*.pc ; do
                sed -i -e 's,$(OE_QMAKE_LIBS_X11),-lX11 -lXext,g' $pc
-                install -m 0644 $pc ${PKG_CONFIG_PATH}/
+                install -m 0644 $pc ${PKG_CONFIG_DIR}/
         done
 }
 
index 16955b575320447c933f7335f4fd88f21b8ef2ca..51649c9be39bd2c80cbe98dfd69798d450eb0c27 100644 (file)
@@ -13,5 +13,5 @@ inherit autotools pkgconfig
 do_stage() {
        autotools_stage_all
        #make it compatible with the old package from cvs
-       ln -sf ${PKG_CONFIG_PATH}/xcalibrateproto.pc ${PKG_CONFIG_PATH}/xcalibrateext.pc
+       ln -sf ${PKG_CONFIG_DIR}/xcalibrateproto.pc ${PKG_CONFIG_DIR}/xcalibrateext.pc
 }
index c50bf0ca64d6516758660e9a52908583b9e8e67e..e4fa10f07f0bfb02c3a8fe09b9f1a3f54ca0db08 100644 (file)
@@ -20,6 +20,6 @@ do_stage() {
 # for this particular .pc, so the following will suffice:
 
 do_stage_append () {
-       install -d ${PKG_CONFIG_PATH}
-       sed -e 's:${includedir}:${STAGING_INCDIR}:;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_PATH}/xfce-mcs-manager.pc
+       install -d ${PKG_CONFIG_DIR}
+       sed -e 's:${includedir}:${STAGING_INCDIR}:;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
 }