summaryrefslogtreecommitdiff
path: root/packages/xorg-proto/xorg-proto-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xorg-proto/xorg-proto-common.inc')
-rw-r--r--packages/xorg-proto/xorg-proto-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/xorg-proto/xorg-proto-common.inc b/packages/xorg-proto/xorg-proto-common.inc
index 017e8755a8..1dc4f12fc7 100644
--- a/packages/xorg-proto/xorg-proto-common.inc
+++ b/packages/xorg-proto/xorg-proto-common.inc
@@ -5,7 +5,8 @@ LICENSE = "MIT-X"
#DEPENDS = ""
XORG_PN = "${PN}"
-SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/proto/${XORG_PN}-${PV}.tar.bz2"
+XORG_RELEASE = "${@["individual",bb.data.getVar('PV', d, 1)[0:7]+"/src"][bb.data.getVar('PV', d, 1)[0:4] == "X11R"]}"
+SRC_URI = "${XORG_MIRROR}/${XORG_RELEASE}/proto/${XORG_PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig