flex: put libfl into ${PN}
authorKoen Kooi <koen@openembedded.org>
Sat, 24 Oct 2009 14:59:51 +0000 (16:59 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 27 Oct 2009 07:57:30 +0000 (08:57 +0100)
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
recipes/flex/flex_2.5.31.bb

index 048b3cb..4ebd44a 100644 (file)
@@ -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"
index 3062e2d..e247a03 100644 (file)
@@ -1,5 +1,5 @@
 require flex.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "file://include.patch;patch=1"