[oe-commits] Koen Kooi : flex: put libfl into ${PN}

git version control git at git.openembedded.org
Sun Oct 25 09:15:28 UTC 2009


Module: openembedded.git
Branch: koen/static-libs-rework
Commit: 4968a9661ae4a3633e4fcb8ed53e6e7d8a43b983
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4968a9661ae4a3633e4fcb8ed53e6e7d8a43b983

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Oct 24 16:59:51 2009 +0200

flex: put libfl into ${PN}

Phil Blundell said:

> > flex-2.5.31-r4: /usr/lib/libfl.a
This is like bison.

>> bison-2.3-r0: /usr/lib/liby.a

That one is a special case: it wants to stay in the main bison package,
since bison itself is a development tool.  I'm not sure why it is a
static-only library; that might be an error.

---

 recipes/flex/flex.inc       |    6 ++++++
 recipes/flex/flex_2.5.31.bb |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index 048b3cb..4ebd44a 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -9,3 +9,9 @@ S = "${WORKDIR}/flex-${PV}"
 
 inherit autotools
 
+# >> flex-2.5.31-r4: /usr/lib/libfl.a
+# That one is a special case: it wants to stay in the main flex package,
+# since flex itself is a development tool.  I'm not sure why it is a
+# static-only library; that might be an error
+
+FILES_${PN} += "${libdir}/libfl.a"
diff --git a/recipes/flex/flex_2.5.31.bb b/recipes/flex/flex_2.5.31.bb
index 3062e2d..e247a03 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 = "r4"
+PR = "r5"
 
 SRC_URI += "file://include.patch;patch=1"
 





More information about the Openembedded-commits mailing list