Skip to contentSkip to conversation

fbset_2.1: add dependency on bison-native

PATCH In review Chase Maupin 2 participants 2 messages Sep 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbset_2.1: add dependency on bison-native

* 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.

---
 recipes/fbset/fbset_2.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/fbset/fbset_2.1.bb +2 -1
index 029f751..04ea35f 100644
@@ -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"
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw

2010/9/24 Chase Maupin <[email protected]>:

Quoted 15 lines

* 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.

Quoted 1 line
Quoted 28 lines

---
 recipes/fbset/fbset_2.1.bb |    3 ++-

 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/fbset/fbset_2.1.bb +0 -0
index 029f751..04ea35f 100644
@@ -8,8 +8,9 @@

 DESCRIPTION = "The fbset console tool"
 LICENSE = "GPLv2"
 RRECOMMENDS_${PN} = "fbset-modes"

recipes/fbset/fbset_2.1.bb +2 -1
+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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel