summaryrefslogtreecommitdiff
path: root/recipes/ncurses/ncurses_5.4.bb
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-06-09 11:08:07 -0700
committerTom Rini <tom_rini@mentor.com>2010-06-09 13:48:29 -0700
commit8cd716868ad626ad11356144df1f20accf6c789a (patch)
treed3bada81ff3979c1b689dc5168273c5756ddceb9 /recipes/ncurses/ncurses_5.4.bb
parent0f5be314dd920d6a37e16df54ccb8d85384c4dba (diff)
ncurses: Switch to INC_PR and BBCLASSEXTEND. Fix ncurses-sdk and terminfo
RSUGGESTS needs to use ${PN} not ncurses otherwise ncurses-sdk will try ncurses-terminfo (wrong) not ncurses-sdk-terminfo (right). Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/ncurses/ncurses_5.4.bb')
-rw-r--r--recipes/ncurses/ncurses_5.4.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/ncurses/ncurses_5.4.bb b/recipes/ncurses/ncurses_5.4.bb
index 8c0f62c48a..d358e162ec 100644
--- a/recipes/ncurses/ncurses_5.4.bb
+++ b/recipes/ncurses/ncurses_5.4.bb
@@ -1,5 +1,3 @@
-PR = "r20"
-
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
file://makefile_tweak.patch \
file://use_ldflags.patch \
@@ -7,8 +5,14 @@ SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
S = "${WORKDIR}/ncurses-${PV}"
require ncurses.inc
+PR = "${INC_PR}.0"
LEAD_SONAME = "libncurses.so.5"
SRC_URI[md5sum] = "069c8880072060373290a4fefff43520"
SRC_URI[sha256sum] = "5abce063cf431790f4e6a801a96c7eea0b33a41ecd0970f6312f52575c083b36"
+
+BBCLASSEXTEND = "native sdk"
+DEPENDS_virtclass-native = ""
+EXTRA_OEMAKE_virtclass-native = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
+EXTRA_OEMAKE_virtclass-sdk = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'