mangle orbit_idl pathname in installed .pc file
authorPhil Blundell <philb@gnu.org>
Thu, 5 Aug 2004 14:50:37 +0000 (14:50 +0000)
committerPhil Blundell <philb@gnu.org>
Thu, 5 Aug 2004 14:50:37 +0000 (14:50 +0000)
BKrev: 4112493d2bieNuXZOIfUVsJEbzt4xg

gnome/orbit2_2.10.2.oe

index ac277c9..a28ea1e 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r2"
 DESCRIPTION = "CORBA ORB"
 SECTION = "gnome/base"
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.10/ORBit2-${PV}.tar.bz2 \
@@ -22,6 +22,11 @@ do_configure_prepend() {
        install ${WORKDIR}/gtk-doc.make ./
 }
 
+do_compile_append () {
+       sed 's:^orbit_idl=.*/:orbit_idl=${STAGING_BINDIR}/:' < ORBit-2.0.pc > ORBit-2.0.pc.new
+       mv ORBit-2.0.pc.new ORBit-2.0.pc
+}
+
 do_stage() {
        oe_libinstall -so -C src/orb libORBit-2 ${STAGING_LIBDIR}
        oe_libinstall -so -C src/services/name libORBitCosNaming-2 ${STAGING_LIBDIR}