[oe] [PATCH] fbset_2.1: add dependency on bison-native

Chase Maupin chasemaupin03 at gmail.com
Fri Sep 24 16:09:35 UTC 2010


* fbset requires bison in order to build.  This patch adds
  bison-native to the DEPENDS.  This has the following benefits:
    * The user does not have to have bison installed on their
      host system
    * The version of bison can be specified in the configuration
      files instead of being the version on the host system.
      In my case the version of bison used on my host was adding
      GPLv3 licensing with exceptions but other systems would
      build and provide GPLv2 with older versions of bison
    * Adds predictability for version of bison being used
      between builds.  The first time fbset is built bison-native
      may not have been built and the host version of the tool
      is used.  The next time bison-native has been built and
      the staged version is used.

Signed-off-by: Chase Maupin <chase.maupin at ti.com>
---
 recipes/fbset/fbset_2.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/fbset/fbset_2.1.bb b/recipes/fbset/fbset_2.1.bb
index 029f751..04ea35f 100644
--- a/recipes/fbset/fbset_2.1.bb
+++ b/recipes/fbset/fbset_2.1.bb
@@ -8,8 +8,9 @@
 DESCRIPTION = "The fbset console tool"
 LICENSE = "GPLv2"
 RRECOMMENDS_${PN} = "fbset-modes"
+DEPENDS = "bison-native"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \
            file://makefile.patch"
-- 
1.7.0.4





More information about the Openembedded-devel mailing list