summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-03 03:49:06 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-03 03:49:06 +0000
commit2c22638257ecf5a940cdb213e62088b257e938fd (patch)
tree13a99d94af5c397b314adda052e2f39d3df9468e
parent46e13cec412dda538fb74b7a013e7abd5f6c79c7 (diff)
downloadopenembedded-core-2c22638257ecf5a940cdb213e62088b257e938fd.tar.gz
openembedded-core-2c22638257ecf5a940cdb213e62088b257e938fd.tar.bz2
openembedded-core-2c22638257ecf5a940cdb213e62088b257e938fd.zip
python-pycairo: nasty pkg-config fix from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4157 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta-extras/packages/python/python-pycairo_1.4.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-extras/packages/python/python-pycairo_1.4.0.bb b/meta-extras/packages/python/python-pycairo_1.4.0.bb
index a74c59fdaa..9bb2fdfcd8 100644
--- a/meta-extras/packages/python/python-pycairo_1.4.0.bb
+++ b/meta-extras/packages/python/python-pycairo_1.4.0.bb
@@ -3,7 +3,7 @@ SECTION = "python-devel"
HOMEPAGE = "http://cairographics.org/pycairo"
LICENSE = "LGPL MPL"
DEPENDS = "cairo"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz"
S = "${WORKDIR}/pycairo-${PV}"
@@ -13,4 +13,7 @@ inherit distutils pkgconfig
do_stage() {
install -d ${STAGING_INCDIR}
install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
+
+ # nasty pkgconfig fix necessary here
+ sed -i -e s,${STAGING_DIR_NATIVE},, pycairo.pc
}