summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-03-06 18:37:37 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-03-06 18:37:37 +0000
commitd3bbd28f22fbd8e9d097081fa128ae18197f36e1 (patch)
tree1efac64f3e4ea0e19d2a133e883616e481b12aae
parent73390c1949090ef86084b3d817474c1c7cdeed28 (diff)
python-pycairo 1.4.0 fix pkgconfig file. if we have more of these problems, then we need a general
solution in distutils.bbclass
-rw-r--r--packages/python/python-pycairo_1.4.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/python/python-pycairo_1.4.0.bb b/packages/python/python-pycairo_1.4.0.bb
index a74c59fdaa..9bb2fdfcd8 100644
--- a/packages/python/python-pycairo_1.4.0.bb
+++ b/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
}