diff options
author | Stanislav Brabec <utx@penguin.cz> | 2008-04-01 22:33:27 +0000 |
---|---|---|
committer | Stanislav Brabec <utx@penguin.cz> | 2008-04-01 22:33:27 +0000 |
commit | fa8f15cf57d370a415c61c71e34621fec6e374f3 (patch) | |
tree | 29733787ba2b4f3757b76d406571a592f7eb73d0 | |
parent | 86e14927b6ec3085881baa02854e76e518fd23c4 (diff) |
Worked around embedding of staging dir to .pc files:
* from cups-config to libgnomecups-1.0.pc
* from more .pc files included in non-standard way to wv-1.0.pc
-rw-r--r-- | packages/gnome/libgnomecups_0.2.2.bb | 5 | ||||
-rw-r--r-- | packages/wv/wv_1.2.0.bb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/gnome/libgnomecups_0.2.2.bb b/packages/gnome/libgnomecups_0.2.2.bb index 53251ba84b..905a4a6ea7 100644 --- a/packages/gnome/libgnomecups_0.2.2.bb +++ b/packages/gnome/libgnomecups_0.2.2.bb @@ -6,6 +6,11 @@ DEPENDS="glib-2.0 gtk+ pango cups intltool libgnomeui" inherit gnome pkgconfig +do_compile_append () { + cp libgnomecups-1.0.pc libgnomecups-1.0.pc.old + sed 's:${STAGING_DIR_HOST}::' < libgnomecups-1.0.pc.old > libgnomecups-1.0.pc +} + do_stage() { autotools_stage_all } diff --git a/packages/wv/wv_1.2.0.bb b/packages/wv/wv_1.2.0.bb index 5b0a484a67..9e9e65fd49 100644 --- a/packages/wv/wv_1.2.0.bb +++ b/packages/wv/wv_1.2.0.bb @@ -12,6 +12,11 @@ S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "" +do_compile_append () { + cp wv-1.0.pc wv-1.0.pc.old + sed 's:${STAGING_DIR_HOST}::g' < wv-1.0.pc.old > wv-1.0.pc +} + do_stage () { autotools_stage_all } |