summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-05-07 07:51:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-07 07:51:24 +0000
commit09655e311453cc8681bf52305d838561d243a8b6 (patch)
tree89da7d20dc24fd9ce0b021ac0f4b852db39d9285
parentfc2b2ca15b279f5dfe997ff8cc6cd078f565a51e (diff)
xlibs: Fix XORG_MIRROR SRC_URI update.
- This adds some python code to xorg-xlibs.inc to handle packages that already have 'X11R7.0-' in their PV (missing epoch support).
-rw-r--r--packages/xlibs/xorg-xlibs.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/xlibs/xorg-xlibs.inc b/packages/xlibs/xorg-xlibs.inc
index 037e2b9958..1a89d35363 100644
--- a/packages/xlibs/xorg-xlibs.inc
+++ b/packages/xlibs/xorg-xlibs.inc
@@ -1,5 +1,6 @@
-SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/${XORG_PN}-X11R7.0-${PV}.tar.bz2"
-S = "${WORKDIR}/${XORG_PN}-X11R7.0-${PV}"
+XORG_PV = "${@['X11R7.0-${PV}','${PV}'][bb.data.getVar('PV', d, 1)[0:8]=='X11R7.0-']}"
+SRC_URI = "${XORG_MIRROR}/X11R7.0/src/lib/${XORG_PN}-${XORG_PV}.tar.bz2"
+S = "${WORKDIR}/${XORG_PN}-${XORG_PV}"
inherit autotools pkgconfig