[oe] [PATCH] vsftpd-2.0.5: added dependency for correct build order
Mike Westerhof
mike at mwester.net
Fri Mar 11 20:32:43 UTC 2011
On 3/10/2011 8:53 AM, Peter Gsellmann wrote:
> 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>
> ---
> recipes/vsftpd/vsftpd_2.0.5.bb | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb
> index 518628e..2486744 100644
> --- a/recipes/vsftpd/vsftpd_2.0.5.bb
> +++ b/recipes/vsftpd/vsftpd_2.0.5.bb
> @@ -3,6 +3,8 @@ SECTION = "console/network"
> LICENSE = "GPL"
> PR = "r2"
Technically, you'll want to bump the PR as well (although for this
particular change, it'll actually work without it)
> +DEPENDS = "libcap"
> +
> SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
> file://makefile.patch \
> file://nopam.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-devel
mailing list