[oe-commits] Peter Gsellmann : vsftpd-2.0.5: added dependency for correct build order

git version control git at git.openembedded.org
Sat Mar 12 20:55:19 UTC 2011


Module: openembedded.git
Branch: master
Commit: 724f68b5675f71fbafb5816c7d0e9e6b2d615eee
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=724f68b5675f71fbafb5816c7d0e9e6b2d615eee

Author: Peter Gsellmann <pgsellmann at portner-elektronik.at>
Date:   Thu Mar 10 22:53:27 2011 +0000

vsftpd-2.0.5: added dependency for correct build order

vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.

Signed-off-by: Peter Gsellmann <pgsellmann at portner-elektronik.at>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/vsftpd/vsftpd_2.0.5.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb
index 518628e..42a8236 100644
--- a/recipes/vsftpd/vsftpd_2.0.5.bb
+++ b/recipes/vsftpd/vsftpd_2.0.5.bb
@@ -1,7 +1,9 @@
 DESCRIPTION = "Secure ftp daemon"
 SECTION = "console/network"
 LICENSE = "GPL"
-PR = "r2"
+PR = "r3"
+
+DEPENDS = "libcap"
 
 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
            file://makefile.patch \
@@ -20,7 +22,7 @@ do_configure() {
 }
 
 do_compile() {
-        oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}"
+        oe_runmake "LIBS=-L${STAGING_LIBDIR} -lcrypt -lcap"
 }
 
 do_install() {





More information about the Openembedded-commits mailing list