rpm 5.4.9: DEPENDS on bison-native
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 18 Sep 2012 11:26:17 +0000 (19:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2012 10:10:18 +0000 (11:10 +0100)
commit10a07d504e43c999e17f50bc00312aa0ee1e4d5b
treef4b1809082222d755bc8ac84b68e5c5c97c060b1
parent0c71670e5ed086fc3c69aec90f25fe6e448732a4
rpm 5.4.9: DEPENDS on bison-native

The rpm should depend on bison-native, otherwise errors when "bitbake
rpm-native" in a fresh build:

| make[4]: Entering directory `/path/to/rpm-native-5.4.9-r46/rpm-5.4.9/syck/lib'
| bison -d -t -v -p syck -o gram.c gram.y
| make[4]: bison: Command not found

Basically, both the rpm-native and rpm should depend on bison-native,
but don't need depend on bison, but it seems that it isn't necessary
to add another depend line:

DEPENDS_virtclass-native = "libpcre-native ... bison-native"

So just add it to the DEPENDS.

[YOCTO #3123]

(From OE-Core rev: 839faed2e7ef554668f647732c7ee1c8d339c123)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4.9.bb