summaryrefslogtreecommitdiffstats
path: root/recipes/flex
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-06-09 11:14:09 +0400
committerRoman I Khimov <khimov@altell.ru>2010-06-09 11:14:22 +0400
commitb96ee9edc8040ea3fe6167ed679786737ecce928 (patch)
tree585f683014780d3032e3118b1fd538650c957195 /recipes/flex
parent5f0fe8217c06ee98bc1c11eb18b4bc788df31181 (diff)
downloadopenembedded-b96ee9edc8040ea3fe6167ed679786737ecce928.tar.gz
flex: convert to INC_PR
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/flex')
-rw-r--r--recipes/flex/flex.inc2
-rw-r--r--recipes/flex/flex_2.5.31.bb2
-rw-r--r--recipes/flex/flex_2.5.35.bb2
3 files changed, 5 insertions, 1 deletions
diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index a61ad1ee95..49b26e8b61 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -4,6 +4,8 @@ LICENSE = "BSD"
DEPENDS = "gettext"
+INC_PR = "r5"
+
S = "${WORKDIR}/flex-${PV}"
inherit autotools gettext
diff --git a/recipes/flex/flex_2.5.31.bb b/recipes/flex/flex_2.5.31.bb
index b7cb0f7d5a..87a0b8d801 100644
--- a/recipes/flex/flex_2.5.31.bb
+++ b/recipes/flex/flex_2.5.31.bb
@@ -1,5 +1,5 @@
require flex.inc
-PR = "r5"
+PR = "${INC_PR}.0"
SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \
file://flex-lvalue.diff \
diff --git a/recipes/flex/flex_2.5.35.bb b/recipes/flex/flex_2.5.35.bb
index d2133d00c7..82e2417758 100644
--- a/recipes/flex/flex_2.5.35.bb
+++ b/recipes/flex/flex_2.5.35.bb
@@ -1,5 +1,7 @@
require flex.inc
+PR = "${INC_PR}.0"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2;name=flex \
"